{
  "_id": "6a1016a8acfb0bcc41c849bf",
  "Package": "simcausal",
  "Type": "Package",
  "Version": "0.5.5",
  "Title": "Simulating Longitudinal Data with Causal Inference Applications",
  "Authors@R": "c(\nperson(\"Oleg\", \"Sofrygin\", role=c(\"aut\", \"cre\"), email=\"oleg.sofrygin@gmail.com\"),\nperson(c(\"Mark\", \"J.\"), \"van der Laan\", role=\"aut\", email=\"laan@berkeley.edu\"),\nperson(\"Romain\", \"Neugebauer\", role=\"aut\", email=\"Romain.S.Neugebauer@kp.org\"))",
  "Description": "A flexible tool for simulating complex longitudinal data\nusing structural equations, with emphasis on problems in causal\ninference. Specify interventions and simulate from intervened\ndata generating distributions. Define and evaluate\ntreatment-specific means, the average treatment effects and\ncoefficients from working marginal structural models. User\ninterface designed to facilitate the conduct of transparent and\nreproducible simulation studies, and allows concise expression\nof complex functional dependencies for a large number of\ntime-varying nodes. See the package vignette for more\ninformation, documentation and examples.",
  "URL": "https://github.com/osofr/simcausal",
  "BugReports": "https://github.com/osofr/simcausal/issues",
  "VignetteBuilder": "knitr",
  "License": "GPL-2",
  "RoxygenNote": "6.1.1",
  "Config/pak/sysreqs": "libglpk-dev libicu-dev libxml2-dev",
  "Repository": "https://osofr.r-universe.dev",
  "Date/Publication": "2024-07-18 16:08:38 UTC",
  "RemoteUrl": "https://github.com/osofr/simcausal",
  "RemoteRef": "HEAD",
  "RemoteSha": "bce5ad71eb90c0cc7d5ac37c4065ffd0ef1f8e15",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 06:31:10 UTC",
    "User": "root"
  },
  "Author": "Oleg Sofrygin [aut, cre],\nMark J. van der Laan [aut],\nRomain Neugebauer [aut]",
  "Maintainer": "Oleg Sofrygin <oleg.sofrygin@gmail.com>",
  "MD5sum": "dcd59a4c40202fdbe282c46a4a958918",
  "_user": "osofr",
  "_type": "src",
  "_file": "simcausal_0.5.5.tar.gz",
  "_fileid": "d0cf19b04fc6a58d5b33c3bb6afaca17426f2beaa1835e72c6f3047109dba8bb",
  "_filesize": 1386041,
  "_sha256": "d0cf19b04fc6a58d5b33c3bb6afaca17426f2beaa1835e72c6f3047109dba8bb",
  "_created": "2026-05-14T06:31:10.000Z",
  "_published": "2026-05-22T08:41:12.509Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77345566064,
      "time": 180,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6988630989"
    },
    {
      "job": 77345566168,
      "time": 169,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6988628430"
    },
    {
      "job": 77345566205,
      "time": 230,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6988632071"
    },
    {
      "job": 77345566053,
      "time": 328,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7010872384"
    },
    {
      "job": 77345565605,
      "time": 276,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988591515"
    },
    {
      "job": 77345565674,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156378427"
    },
    {
      "job": 77345566259,
      "time": 183,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6988631552"
    },
    {
      "job": 77345566270,
      "time": 134,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6988621028"
    },
    {
      "job": 77345566151,
      "time": 136,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6988621466"
    }
  ],
  "_buildurl": "https://github.com/r-universe/osofr/actions/runs/25845488126",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/osofr/simcausal",
  "_commit": {
    "id": "bce5ad71eb90c0cc7d5ac37c4065ffd0ef1f8e15",
    "author": "Oleg Sofrygin <osofr@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #22 from maelle/igraph-from\n\nrefactor: use .from() instead of deprecated from() from igraph",
    "time": 1721318918
  },
  "_maintainer": {
    "name": "Oleg Sofrygin",
    "email": "oleg.sofrygin@gmail.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "copula",
      "role": "Suggests"
    },
    {
      "package": "RUnit",
      "role": "Suggests"
    },
    {
      "package": "ltmle",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "Hmisc",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "bindata",
      "role": "Suggests"
    }
  ],
  "_owner": "osofr",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "counterfactual-data",
    "sem",
    "simulated-network",
    "simulating-data",
    "structural-equations"
  ],
  "_stars": 69,
  "_contributors": [
    {
      "user": "osofr",
      "count": 160,
      "uuid": 6721358
    },
    {
      "user": "maelle",
      "count": 1,
      "uuid": 8360597
    }
  ],
  "_userbio": {
    "uuid": 6721358,
    "type": "user",
    "name": "Oleg Sofrygin"
  },
  "_downloads": {
    "count": 290,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/simcausal"
  },
  "_devurl": "https://github.com/osofr/simcausal",
  "_searchresults": 165,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/simcausal.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/osofr/simcausal",
  "_realowner": "osofr",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2015-05-16"
    },
    {
      "version": "0.2.0",
      "date": "2015-06-12"
    },
    {
      "version": "0.3.0",
      "date": "2015-08-24"
    },
    {
      "version": "0.4.0",
      "date": "2015-09-22"
    },
    {
      "version": "0.5.0",
      "date": "2016-02-20"
    },
    {
      "version": "0.5.1",
      "date": "2016-05-25"
    },
    {
      "version": "0.5.3",
      "date": "2016-12-20"
    },
    {
      "version": "0.5.4",
      "date": "2017-10-08"
    },
    {
      "version": "0.5.5",
      "date": "2019-01-07"
    },
    {
      "version": "0.5.6",
      "date": "2022-10-28"
    },
    {
      "version": "0.5.7",
      "date": "2024-10-19"
    }
  ],
  "_exports": [
    "A",
    "action",
    "add.action",
    "add.nodes",
    "DAG.empty",
    "DF.to.long",
    "DF.to.longDT",
    "distr.list",
    "doLTCF",
    "eval.target",
    "igraph.to.sparseAdjMat",
    "N",
    "net.list",
    "NetInd.to.sparseAdjMat",
    "NetIndClass",
    "network",
    "node",
    "parents",
    "plotDAG",
    "plotSurvEst",
    "rbern",
    "rcat.b0",
    "rcat.b1",
    "rcat.factor",
    "rcategor",
    "rcategor.int",
    "rconst",
    "rdistr.template",
    "rnet.gnm",
    "rnet.gnp",
    "rnet.SmWorld",
    "set.DAG",
    "set.targetE",
    "set.targetMSM",
    "sim",
    "simfull",
    "simobs",
    "sparseAdjMat.to.igraph",
    "sparseAdjMat.to.NetInd",
    "vecfun.add",
    "vecfun.all.print",
    "vecfun.print",
    "vecfun.remove",
    "vecfun.reset"
  ],
  "_help": [
    {
      "page": "A",
      "title": "Subsetting/Indexing Actions Defined for 'DAG' Object",
      "topics": [
        "A"
      ]
    },
    {
      "page": "add.action",
      "title": "Define and Add Actions (Interventions)",
      "topics": [
        "action",
        "add.action"
      ]
    },
    {
      "page": "add.nodes",
      "title": "Adding Node(s) to DAG",
      "topics": [
        "+.DAG",
        "add.nodes"
      ]
    },
    {
      "page": "DAG.empty",
      "title": "Initialize an empty DAG object",
      "topics": [
        "DAG.empty"
      ]
    },
    {
      "page": "Define_sVar",
      "title": "Class for defining and evaluating user-specified summary measures (exprs_list)",
      "topics": [
        "Define_sVar"
      ]
    },
    {
      "page": "DF.to.long",
      "title": "Convert Data from Wide to Long Format Using 'reshape'",
      "concept": [
        "data manipulation functions"
      ],
      "topics": [
        "DF.to.long"
      ]
    },
    {
      "page": "DF.to.longDT",
      "title": "Faster Conversion of Data from Wide to Long Format Using 'dcast.data.table'",
      "concept": [
        "data manipulation functions"
      ],
      "topics": [
        "DF.to.longDT"
      ]
    },
    {
      "page": "distr.list",
      "title": "List All Custom Distribution Functions in 'simcausal'.",
      "topics": [
        "distr.list"
      ]
    },
    {
      "page": "doLTCF",
      "title": "Missing Variable Imputation with Last Time Point Value Carried Forward (LTCF)",
      "concept": [
        "data manipulation functions"
      ],
      "topics": [
        "doLTCF"
      ]
    },
    {
      "page": "eval.target",
      "title": "Evaluate the True Value of the Causal Target Parameter",
      "topics": [
        "eval.target"
      ]
    },
    {
      "page": "igraph.to.sparseAdjMat",
      "title": "Convert igraph Network Object into Sparse Adjacency Matrix",
      "topics": [
        "igraph.to.sparseAdjMat"
      ]
    },
    {
      "page": "N",
      "title": "Subsetting/Indexing 'DAG' Nodes",
      "topics": [
        "N"
      ]
    },
    {
      "page": "net.list",
      "title": "List All Custom Network Generator Functions in 'simcausal'.",
      "topics": [
        "net.list"
      ]
    },
    {
      "page": "NetInd.to.sparseAdjMat",
      "title": "Convert Network IDs Matrix into Sparse Adjacency Matrix",
      "topics": [
        "NetInd.to.sparseAdjMat"
      ]
    },
    {
      "page": "NetIndClass",
      "title": "R6 class for creating and storing a friend matrix (network IDs) for network data",
      "topics": [
        "NetIndClass"
      ]
    },
    {
      "page": "network",
      "title": "Define a Network Generator",
      "topics": [
        "network"
      ]
    },
    {
      "page": "node",
      "title": "Create Node Object(s)",
      "topics": [
        "node"
      ]
    },
    {
      "page": "parents",
      "title": "Show Node Parents Given DAG Object",
      "topics": [
        "parents"
      ]
    },
    {
      "page": "plotDAG",
      "title": "Plot DAG",
      "topics": [
        "plotDAG"
      ]
    },
    {
      "page": "plotSurvEst",
      "title": "(EXPERIMENTAL) Plot Discrete Survival Function(s)",
      "topics": [
        "plotSurvEst"
      ]
    },
    {
      "page": "print.DAG",
      "title": "Print DAG Object",
      "topics": [
        "print.DAG"
      ]
    },
    {
      "page": "print.DAG.action",
      "title": "Print Action Object",
      "topics": [
        "print.DAG.action"
      ]
    },
    {
      "page": "print.DAG.node",
      "title": "Print DAG.node Object",
      "topics": [
        "print.DAG.node"
      ]
    },
    {
      "page": "rbern",
      "title": "Random Sample from Bernoulli Distribution",
      "topics": [
        "rbern"
      ]
    },
    {
      "page": "rcat.factor",
      "title": "Random Sample for a Categorical Factor",
      "topics": [
        "rcat.factor",
        "rcategor"
      ]
    },
    {
      "page": "rcat.b1",
      "title": "Random Sample from Base 1 (rcat.b1) or Base 0 (rcat.b0) Categorical (Integer) Distribution",
      "topics": [
        "rcat.b0",
        "rcat.b1",
        "rcategor.int"
      ]
    },
    {
      "page": "rconst",
      "title": "Constant (Degenerate) Distribution (Returns its Own Argument 'const')",
      "topics": [
        "rconst"
      ]
    },
    {
      "page": "rdistr.template",
      "title": "Template for Writing Custom Distribution Functions",
      "topics": [
        "rdistr.template"
      ]
    },
    {
      "page": "rnet.gnm",
      "title": "Call 'igraph::sample_gnm' to Generate Random Graph Object According to the G(n,m) Erdos-Renyi Model",
      "topics": [
        "rnet.gnm"
      ]
    },
    {
      "page": "rnet.gnp",
      "title": "Call 'igraph::sample_gnp' to Generate Random Graph Object According to the G(n,p) Erdos-Renyi Model",
      "topics": [
        "rnet.gnp"
      ]
    },
    {
      "page": "rnet.SmWorld",
      "title": "Call 'igraph::sample_smallworld' to Generate Random Graph Object from the Watts-Strogatz Small-World Model",
      "topics": [
        "rnet.SmWorld"
      ]
    },
    {
      "page": "set.DAG",
      "title": "Create and Lock DAG Object",
      "topics": [
        "set.DAG"
      ]
    },
    {
      "page": "set.targetE",
      "title": "Define Non-Parametric Causal Parameters",
      "topics": [
        "set.targetE"
      ]
    },
    {
      "page": "set.targetMSM",
      "title": "Define Causal Parameters with a Working Marginal Structural Model (MSM)",
      "topics": [
        "set.targetMSM"
      ]
    },
    {
      "page": "sim",
      "title": "Simulate Observed or Full Data from 'DAG' Object",
      "concept": [
        "simulation functions"
      ],
      "topics": [
        "sim"
      ]
    },
    {
      "page": "simcausal",
      "title": "Simulating Longitudinal Data with Causal Inference Applications",
      "topics": [
        "simcausal-package",
        "simcausal"
      ]
    },
    {
      "page": "simfull",
      "title": "Simulate Full Data (From Action DAG(s))",
      "concept": [
        "simulation functions"
      ],
      "topics": [
        "simfull"
      ]
    },
    {
      "page": "simobs",
      "title": "Simulate Observed Data",
      "concept": [
        "simulation functions"
      ],
      "topics": [
        "simobs"
      ]
    },
    {
      "page": "sparseAdjMat.to.igraph",
      "title": "Convert Network from Sparse Adjacency Matrix into igraph Object",
      "topics": [
        "sparseAdjMat.to.igraph"
      ]
    },
    {
      "page": "sparseAdjMat.to.NetInd",
      "title": "Convert Network from Sparse Adjacency Matrix into Network IDs Matrix",
      "topics": [
        "sparseAdjMat.to.NetInd"
      ]
    },
    {
      "page": "vecfun.add",
      "title": "Add Custom Vectorized Functions",
      "topics": [
        "vecfun.add"
      ]
    },
    {
      "page": "vecfun.all.print",
      "title": "Print Names of All Vectorized Functions",
      "topics": [
        "vecfun.all.print"
      ]
    },
    {
      "page": "vecfun.print",
      "title": "Print Names of Custom Vectorized Functions",
      "topics": [
        "vecfun.print"
      ]
    },
    {
      "page": "vecfun.remove",
      "title": "Remove Custom Vectorized Functions",
      "topics": [
        "vecfun.remove"
      ]
    },
    {
      "page": "vecfun.reset",
      "title": "Reset Custom Vectorized Function List",
      "topics": [
        "vecfun.reset"
      ]
    }
  ],
  "_readme": "https://github.com/osofr/simcausal/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "cli",
    "cpp11",
    "data.table",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pkgconfig",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "simcausal_vignette.Rnw",
      "filename": "simcausal_vignette.pdf",
      "title": "simcausal Package: Simulations with Complex Longitudinal Data (Technical Details and Extended Examples)",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2015-06-11 02:22:41",
      "modified": "2022-10-15 00:21:26",
      "commits": 16
    }
  ],
  "_score": 6.75530303928718,
  "_indexed": true,
  "_nocasepkg": "simcausal",
  "_universes": [
    "osofr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.5",
      "date": "2026-05-14T06:33:26.000Z",
      "distro": "noble",
      "commit": "bce5ad71eb90c0cc7d5ac37c4065ffd0ef1f8e15",
      "fileid": "c84c576b222110d17010081645be1bbfcfa74052336c5c1af864572870d38546",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/osofr/actions/runs/25845488126"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.5",
      "date": "2026-05-14T06:33:14.000Z",
      "distro": "noble",
      "commit": "bce5ad71eb90c0cc7d5ac37c4065ffd0ef1f8e15",
      "fileid": "937ad00b4a7e909ba8776807feca37c6777b45971ac2ff5a124c0c3b39d721b3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/osofr/actions/runs/25845488126"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.5",
      "date": "2026-05-14T06:33:37.000Z",
      "commit": "bce5ad71eb90c0cc7d5ac37c4065ffd0ef1f8e15",
      "fileid": "37f569ecae108f7e7f3640decc80cd8886a7453ea4ff9114988514eeda2801da",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/osofr/actions/runs/25845488126"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.5",
      "date": "2026-05-15T05:42:49.000Z",
      "commit": "bce5ad71eb90c0cc7d5ac37c4065ffd0ef1f8e15",
      "fileid": "79ad3b3937b57a6e442b18271da813161a65bee05191c8eebb333e32a145dca7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/osofr/actions/runs/25845488126"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.5",
      "date": "2026-05-14T06:33:16.000Z",
      "commit": "bce5ad71eb90c0cc7d5ac37c4065ffd0ef1f8e15",
      "fileid": "003ac19f4e5462b903c3a29babe51e4fb059860596eaa201911f079801e275b7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/osofr/actions/runs/25845488126"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.5",
      "date": "2026-05-14T06:32:27.000Z",
      "commit": "bce5ad71eb90c0cc7d5ac37c4065ffd0ef1f8e15",
      "fileid": "dc0c0ca539a98ea35db795a0fe56c44fca650f2910e60f758f586effdd2d0974",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/osofr/actions/runs/25845488126"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.5",
      "date": "2026-05-14T06:32:22.000Z",
      "commit": "bce5ad71eb90c0cc7d5ac37c4065ffd0ef1f8e15",
      "fileid": "931c2d6d40d9f4a17034e8223abafb23814de95c6c911a88b054396587d62584",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/osofr/actions/runs/25845488126"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.5",
      "date": "2026-05-22T08:40:56.000Z",
      "commit": "bce5ad71eb90c0cc7d5ac37c4065ffd0ef1f8e15",
      "fileid": "d54281ad1c02adb6ec98ae5b4208a84b6ebd918c73828a026b297acacdbdd776",
      "status": "success",
      "buildurl": "https://github.com/r-universe/osofr/actions/runs/25845488126"
    }
  ]
}