{
  "_id": "6acb8216fe5cc25786e90ff4",
  "Package": "rsDCM",
  "Type": "Package",
  "Title": "Robust and Sparse Dynamic Causal Modelling for Functional MRI",
  "Version": "0.1.0",
  "Date": "2026-09-24",
  "Authors@R": "c(\nperson(given = \"Godfred\", family = \"Arhin\",\nemail = \"arhin0122@gmail.com\",\nrole = c(\"aut\", \"cre\", \"trl\")),\nperson(given = \"Nilotpal\", family = \"Sanyal\",\nemail = \"nsanyal@utep.edu\",\nrole = \"aut\"),\nperson(given = \"SPM25 Authors\", role = c(\"ctb\", \"cph\"),\ncomment = \"Original MATLAB SPM25 (v25.01.02) implementation; see LICENSE.note\"))",
  "Maintainer": "Godfred Arhin <arhin0122@gmail.com>",
  "Description": "Provides a robust and sparse method for group-level\nDynamic Causal Modelling (DCM) of functional magnetic resonance\nimaging (fMRI) data: Student-t weighting of subjects for\nrobustness, combined with a nonlocal product-moment (pMOM)\nspike-and-slab prior for sparse selection of group-level\neffects (<doi:10.48550/arXiv.2609.06379>). The package also\nprovides an R implementation of single-subject DCM for fMRI\nusing variational Laplace inversion (Friston et al., 2003\n<doi:10.1016/S1053-8119(03)00202-7>), including the bilinear\nneural state equation and the Buxton-Friston hemodynamic\nresponse model, ported from the 'SPM25' (version 25.01.02)\ntoolbox for 'MATLAB'.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://github.com/Kay202/rsDCM",
  "BugReports": "https://github.com/Kay202/rsDCM/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://kay202.r-universe.dev",
  "Date/Publication": "2026-10-06 17:19:37 UTC",
  "RemoteUrl": "https://github.com/kay202/rsdcm",
  "RemoteRef": "HEAD",
  "RemoteSha": "99e0052e9013dced58539a893b80894d2b0326e7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-11 12:30:22 UTC",
    "User": "root"
  },
  "Author": "Godfred Arhin [aut, cre, trl],\nNilotpal Sanyal [aut],\nSPM25 Authors [ctb, cph] (Original MATLAB SPM25 (v25.01.02)\nimplementation; see LICENSE.note)",
  "_user": "kay202",
  "_type": "src",
  "_file": "rsDCM_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/38376b7f87f29a438fbac22fbcfcff68762ca01a672ea8d1aa62664d1b46c8e1",
  "_filesize": 464635,
  "_sha256": "38376b7f87f29a438fbac22fbcfcff68762ca01a672ea8d1aa62664d1b46c8e1",
  "_expires": "2027-01-19T12:33:24.000Z",
  "_created": "2026-10-11T12:30:22.000Z",
  "_published": "2026-10-11T12:33:26.064Z",
  "_buildurl": "https://github.com/r-universe/kay202/actions/runs/38139334899",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114470352284,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11702109905"
    },
    {
      "job": 114470352256,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11701499074"
    },
    {
      "job": 114470352302,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11701554133"
    },
    {
      "job": 114470352353,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11702645278"
    },
    {
      "job": 114469817892,
      "time": 166,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11701984818"
    },
    {
      "job": 114470352205,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11702360514"
    },
    {
      "job": 114470352316,
      "time": 106,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11701284625"
    },
    {
      "job": 114470352257,
      "time": 80,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11702159676"
    },
    {
      "job": 114470352240,
      "time": 77,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11702785006"
    }
  ],
  "_upstream": "https://github.com/kay202/rsdcm",
  "_commit": {
    "id": "99e0052e9013dced58539a893b80894d2b0326e7",
    "author": "Godfred Arhin <arhin0122@gmail.com>",
    "committer": "Godfred Arhin <arhin0122@gmail.com>",
    "message": "rsDCM 0.1.0 (CRAN release)\n\nRobust and sparse group DCM (Student-t + pMOM nonlocal prior), PEB layer, single-subject DCM ported from SPM25, full help pages, NARPS example dataset, and package startup message. Renamed from dcmR.\n",
    "time": 1791307177
  },
  "_maintainer": {
    "name": "Godfred Arhin",
    "email": "arhin0122@gmail.com",
    "login": "kay202",
    "description": "",
    "uuid": 62701855
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "expm",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "R.matlab",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "kay202",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 2
    },
    {
      "week": "2026-41",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "kay202",
      "count": 3,
      "uuid": 62701855
    }
  ],
  "_userbio": {
    "uuid": 62701855,
    "type": "user",
    "name": "Godfred Arhin",
    "followers": 0
  },
  "_downloads": {
    "count": 81,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rsDCM"
  },
  "_devurl": "https://github.com/kay202/rsdcm",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rsDCM.html"
  ],
  "_homeurl": "https://github.com/kay202/rsdcm",
  "_realowner": "kay202",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-10-06"
    }
  ],
  "_exports": [
    "dcm_bireduce",
    "dcm_blocks_to_mat",
    "dcm_cat",
    "dcm_Ce",
    "dcm_data_id",
    "dcm_detrend",
    "dcm_diag",
    "dcm_diff",
    "dcm_dx",
    "dcm_en",
    "dcm_estimate",
    "dcm_evidence",
    "dcm_expm",
    "dcm_fieldindices",
    "dcm_find_pC",
    "dcm_find_rC",
    "dcm_fmri_mode_gen",
    "dcm_fmri_priors",
    "dcm_funcheck",
    "dcm_fx_fmri",
    "dcm_fx_fmri2",
    "dcm_gx_fmri",
    "dcm_int",
    "dcm_inv",
    "dcm_kernels",
    "dcm_length",
    "dcm_log_evidence",
    "dcm_log_evidence_reduce",
    "dcm_logdet",
    "dcm_Ncdf",
    "dcm_nlsi_GN",
    "dcm_peb_design",
    "dcm_peb_files",
    "dcm_peb_load",
    "dcm_peb_of_pebs",
    "dcm_peb_prepare",
    "dcm_peb_run",
    "dcm_phi",
    "dcm_pinv",
    "dcm_Q",
    "dcm_speye",
    "dcm_svd",
    "dcm_trace",
    "dcm_unvec",
    "dcm_vec",
    "dcm_zeros",
    "expv",
    "padm",
    "rsdcm",
    "rsdcm_fit",
    "rsdcm_options"
  ],
  "_datasets": [
    {
      "name": "narps_dcm",
      "title": "Subject-level DCM summaries for a group analysis (NARPS)",
      "object": "narps_dcm",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "toy_dcm",
      "title": "Example DCM for fMRI inversion",
      "object": "toy_dcm",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "rsDCM-package",
      "title": "rsDCM: Robust and Sparse Dynamic Causal Modelling for Functional MRI",
      "topics": [
        "rsDCM-package",
        "rsDCM"
      ]
    },
    {
      "page": "dcm_estimate",
      "title": "Estimate a Dynamic Causal Model for fMRI",
      "topics": [
        "dcm_estimate"
      ]
    },
    {
      "page": "dcm_evidence",
      "title": "Approximate model evidence (AIC, BIC)",
      "topics": [
        "dcm_evidence"
      ]
    },
    {
      "page": "dcm_fmri_priors",
      "title": "Construct fMRI DCM priors",
      "topics": [
        "dcm_fmri_priors"
      ]
    },
    {
      "page": "dcm_fx_fmri",
      "title": "fMRI neural and hemodynamic state equation",
      "topics": [
        "dcm_fx_fmri"
      ]
    },
    {
      "page": "dcm_gx_fmri",
      "title": "fMRI BOLD observation equation",
      "topics": [
        "dcm_gx_fmri"
      ]
    },
    {
      "page": "dcm_int",
      "title": "Integrate a bilinear DCM",
      "topics": [
        "dcm_int"
      ]
    },
    {
      "page": "dcm_nlsi_GN",
      "title": "Variational Laplace inversion of a non-linear system",
      "topics": [
        "dcm_nlsi_GN"
      ]
    },
    {
      "page": "dcm_peb_of_pebs",
      "title": "Run a third-level PEB-of-PEBs over a directory of subject PEBs",
      "topics": [
        "dcm_peb_of_pebs"
      ]
    },
    {
      "page": "dcm_peb_prepare",
      "title": "Prepare a PEB (second- or third-level) model",
      "topics": [
        "dcm_peb_prepare"
      ]
    },
    {
      "page": "dcm_peb_run",
      "title": "Fit a prepared PEB model by variational Laplace",
      "topics": [
        "dcm_peb_run"
      ]
    },
    {
      "page": "narps_dcm",
      "title": "Subject-level DCM summaries for a group analysis (NARPS)",
      "topics": [
        "narps_dcm"
      ]
    },
    {
      "page": "rsdcm",
      "title": "Robust and sparse group-level DCM (Student-t + pMOM)",
      "topics": [
        "rsdcm"
      ]
    },
    {
      "page": "rsdcm_fit",
      "title": "Robust sparse group DCM from a list of fitted DCMs",
      "topics": [
        "rsdcm_fit"
      ]
    },
    {
      "page": "rsdcm_options",
      "title": "Get or set rsDCM runtime options",
      "topics": [
        "rsdcm_options"
      ]
    },
    {
      "page": "toy_dcm",
      "title": "Example DCM for fMRI inversion",
      "topics": [
        "toy_dcm"
      ]
    }
  ],
  "_readme": "https://github.com/kay202/rsdcm/raw/HEAD/README.md",
  "_rundeps": [
    "expm",
    "lattice",
    "MASS",
    "Matrix"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to rsDCM",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "The toy model",
        "Simulating a BOLD response",
        "Inverting the model",
        "Model comparison",
        "Tuning",
        "Group-level modelling",
        "Acknowledgment",
        "References"
      ],
      "created": "2026-05-13 20:46:08",
      "modified": "2026-10-06 17:19:37",
      "commits": 2
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "rsdcm",
  "_universes": [
    "kay202"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-11T12:32:16.000Z",
      "distro": "resolute",
      "commit": "99e0052e9013dced58539a893b80894d2b0326e7",
      "fileid": "https://r2.ropensci.org/02df1bec746a764c79be4bb428198f39d08284e62bf81eaee7d108d0066193e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kay202/actions/runs/38139334899"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-11T12:32:09.000Z",
      "distro": "resolute",
      "commit": "99e0052e9013dced58539a893b80894d2b0326e7",
      "fileid": "https://r2.ropensci.org/74059feb4232708f5be7dcff2d0720b218a4a0d583e50d100af1c231cca68ebf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kay202/actions/runs/38139334899"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-11T12:32:00.000Z",
      "commit": "99e0052e9013dced58539a893b80894d2b0326e7",
      "fileid": "https://r2.ropensci.org/ad26efbaa4ae125d1288da1d096c4801e3939e6acd7af8cfa1974f46ce570aa3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kay202/actions/runs/38139334899"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-11T12:32:04.000Z",
      "commit": "99e0052e9013dced58539a893b80894d2b0326e7",
      "fileid": "https://r2.ropensci.org/ce75257ccd0b2a708038e0328a5908cba60919bffab2d1aabce9317f811184d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kay202/actions/runs/38139334899"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-11T12:32:20.000Z",
      "commit": "99e0052e9013dced58539a893b80894d2b0326e7",
      "fileid": "https://r2.ropensci.org/3fc3dad940b40e9702a8afd469adfe8fad8a06b9e867dbed318d241c0a119e21",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kay202/actions/runs/38139334899"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-11T12:31:28.000Z",
      "commit": "99e0052e9013dced58539a893b80894d2b0326e7",
      "fileid": "https://r2.ropensci.org/56ff1c5b297198928bd1eabb4ca8c06b6ef563c88f18d6bbf629f5fdec7ffbb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kay202/actions/runs/38139334899"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-11T12:31:27.000Z",
      "commit": "99e0052e9013dced58539a893b80894d2b0326e7",
      "fileid": "https://r2.ropensci.org/b01d37352c18086a591f1bc000b3e6b4d889f76e53330fcf6fd02c1899863868",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kay202/actions/runs/38139334899"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-11T12:31:25.000Z",
      "commit": "99e0052e9013dced58539a893b80894d2b0326e7",
      "fileid": "https://r2.ropensci.org/fb2f25d802d973d4a6b72f9f94aae948bc47f22fad455764884fef5b464378a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kay202/actions/runs/38139334899"
    }
  ]
}