{
  "_id": "6a1f3259b401979e73427ee2",
  "Package": "SimTimeVar",
  "Type": "Package",
  "Title": "Simulate Longitudinal Dataset with Time-Varying Correlated\nCovariates",
  "Version": "1.0.0",
  "Date": "2017-09-07",
  "Author": "Maya B. Mathur, Kristopher Kapphahn, Ariadna Garcia, Manisha\nDesai, Maria E. Montez-Rath",
  "Maintainer": "Maya B. Mathur <mmathur@stanford.edu>",
  "Description": "Flexibly simulates a dataset with time-varying covariates\nwith user-specified exchangeable correlation structures across\nand within clusters. Covariates can be normal or binary and can\nbe static within a cluster or time-varying. Time-varying normal\nvariables can optionally have linear trajectories within each\ncluster. See ?make_one_dataset for the main wrapper function.\nSee Montez-Rath et al. <arXiv:1709.10074> for methodological\ndetails.",
  "LazyData": "true",
  "License": "GPL-2",
  "RoxygenNote": "6.0.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 07:40:17 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://mayamathur.r-universe.dev",
  "Date/Publication": "2017-09-30 15:22:10 UTC",
  "RemoteUrl": "https://github.com/cran/SimTimeVar",
  "RemoteRef": "HEAD",
  "RemoteSha": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
  "MD5sum": "d61186aa92183ace8a32b1ffaec9a87f",
  "_user": "mayamathur",
  "_type": "src",
  "_file": "SimTimeVar_1.0.0.tar.gz",
  "_fileid": "cba0395ca81824a2d274bb4bd0c7616dfacbf7e419263a96bf517d7452f76ca9",
  "_filesize": 149231,
  "_sha256": "cba0395ca81824a2d274bb4bd0c7616dfacbf7e419263a96bf517d7452f76ca9",
  "_created": "2026-05-15T07:40:17.000Z",
  "_published": "2026-06-02T19:43:21.168Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79157257612,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7012456249"
    },
    {
      "job": 79157257306,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7012449830"
    },
    {
      "job": 79157257195,
      "time": 96,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7012444268"
    },
    {
      "job": 79157257017,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7012446481"
    },
    {
      "job": 79157256294,
      "time": 166,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012418408"
    },
    {
      "job": 79157256209,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7368070683"
    },
    {
      "job": 79157257330,
      "time": 91,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7012443448"
    },
    {
      "job": 79157257201,
      "time": 88,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7012442814"
    },
    {
      "job": 79157257634,
      "time": 81,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7012440762"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mayamathur/actions/runs/25906385157",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/SimTimeVar",
  "_commit": {
    "id": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
    "author": "Maya B. Mathur <mmathur@stanford.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.0\n",
    "time": 1506784930
  },
  "_maintainer": {
    "name": "Maya B. Mathur",
    "email": "mmathur@stanford.edu",
    "login": "mayamathur",
    "uuid": 8933150
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "metafor",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "ICC",
      "role": "Imports"
    },
    {
      "package": "miscTools",
      "role": "Imports"
    },
    {
      "package": "car",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "corpcor",
      "role": "Imports"
    },
    {
      "package": "psych",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mayamathur",
      "count": 1,
      "uuid": 8933150
    }
  ],
  "_userbio": {
    "uuid": 8933150,
    "type": "user",
    "name": "Maya Mathur"
  },
  "_downloads": {
    "count": 170,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SimTimeVar"
  },
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/SimTimeVar.html",
    "manual.pdf"
  ],
  "_realowner": "mayamathur",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2017-09-30"
    }
  ],
  "_exports": [
    "add_one_categorical",
    "add_time_function_vars",
    "BN.rBound",
    "closest",
    "complete_parameters",
    "expand_matrix",
    "expand_subjects",
    "has_drug_suffix",
    "make_one_dataset",
    "make_one_linear_pred",
    "mod.jointly.generate.binary.normal",
    "override_static",
    "override_tbin_probs",
    "proportionize",
    "upper_tri_vec"
  ],
  "_datasets": [
    {
      "name": "cat.params",
      "title": "An example dataframe for categorical variable parameters",
      "object": "cat.params",
      "class": [
        "data.frame"
      ],
      "fields": [
        "level",
        "parameter",
        "beta"
      ],
      "rows": 5,
      "table": true,
      "tojson": true
    },
    {
      "name": "params",
      "title": "An example parameters dataframe",
      "object": "params",
      "class": [
        "data.frame"
      ],
      "fields": [
        "name",
        "type",
        "across.mean",
        "across.SD",
        "across.var",
        "within.var",
        "prop",
        "error.SD"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    },
    {
      "name": "pcor",
      "title": "An example across-cluster correlation dataframe",
      "object": "pcor",
      "class": [
        "data.frame"
      ],
      "fields": [
        "drug1_s",
        "drug2_s",
        "male",
        "drug1",
        "drug2",
        "height",
        "weight",
        "bp",
        "bp_slope"
      ],
      "rows": 9,
      "table": true,
      "tojson": true
    },
    {
      "name": "wcor",
      "title": "An example within-cluster correlation dataframe",
      "object": "wcor",
      "class": [
        "data.frame"
      ],
      "fields": [
        "drug1",
        "drug2",
        "height",
        "weight",
        "bp",
        "bp_slope"
      ],
      "rows": 6,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_one_categorical",
      "title": "Generate linear predictor from logistic model",
      "topics": [
        "add_one_categorical"
      ]
    },
    {
      "page": "add_time_function_vars",
      "title": "Creates linear time-function variables",
      "topics": [
        "add_time_function_vars"
      ]
    },
    {
      "page": "BN.rBound",
      "title": "Maximum correlation between binary and normal random variables",
      "topics": [
        "BN.rBound"
      ]
    },
    {
      "page": "cat.params",
      "title": "An example dataframe for categorical variable parameters",
      "topics": [
        "cat.params"
      ]
    },
    {
      "page": "closest",
      "title": "Return closest value",
      "topics": [
        "closest"
      ]
    },
    {
      "page": "complete_parameters",
      "title": "Fill in partially incomplete parameters matrix",
      "topics": [
        "complete_parameters"
      ]
    },
    {
      "page": "expand_matrix",
      "title": "Longitudinally expand a matrix of single observations by cluster",
      "topics": [
        "expand_matrix"
      ]
    },
    {
      "page": "expand_subjects",
      "title": "Longitudinally expand a cluster",
      "topics": [
        "expand_subjects"
      ]
    },
    {
      "page": "has_drug_suffix",
      "title": "Checks whether string has \"_s\" suffix",
      "topics": [
        "has_drug_suffix"
      ]
    },
    {
      "page": "make_one_dataset",
      "title": "Simulate time-varying covariates",
      "topics": [
        "make_one_dataset"
      ]
    },
    {
      "page": "make_one_linear_pred",
      "title": "Generate linear predictor from logistic model",
      "topics": [
        "make_one_linear_pred"
      ]
    },
    {
      "page": "mod.jointly.generate.binary.normal",
      "title": "Return closest value",
      "topics": [
        "mod.jointly.generate.binary.normal"
      ]
    },
    {
      "page": "override_static",
      "title": "Override static variable",
      "topics": [
        "override_static"
      ]
    },
    {
      "page": "override_tbin_probs",
      "title": "Override probabilities for time-varying binary variables",
      "topics": [
        "override_tbin_probs"
      ]
    },
    {
      "page": "params",
      "title": "An example parameters dataframe",
      "topics": [
        "params"
      ]
    },
    {
      "page": "pcor",
      "title": "An example across-cluster correlation dataframe",
      "topics": [
        "pcor"
      ]
    },
    {
      "page": "proportionize",
      "title": "Turn a number into a valid proportion",
      "topics": [
        "proportionize"
      ]
    },
    {
      "page": "upper_tri_vec",
      "title": "Turn symmetric matrix into vector",
      "topics": [
        "upper_tri_vec"
      ]
    },
    {
      "page": "wcor",
      "title": "An example within-cluster correlation dataframe",
      "topics": [
        "wcor"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "corpcor",
    "cowplot",
    "cpp11",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "GPArotation",
    "gtable",
    "ICC",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "mathjaxr",
    "Matrix",
    "MatrixModels",
    "metadat",
    "metafor",
    "mgcv",
    "microbenchmark",
    "minqa",
    "miscTools",
    "mnormt",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbapply",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "plyr",
    "psych",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_score": 1.1139433523068367,
  "_indexed": true,
  "_nocasepkg": "simtimevar",
  "_universes": [
    "mayamathur"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-15T07:42:39.000Z",
      "distro": "noble",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "f621ca27288877bdd2c7c835de168e7f1564206a454ea28781edab37a4cbae3d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/25906385157"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-15T07:42:16.000Z",
      "distro": "noble",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "e3da24c79ac855209fb84a1cd5228994595a39cfee989c4760b1ba2e0cf742d8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/25906385157"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-15T07:41:56.000Z",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "939e4461b5120f05035c6b595b4c9ee034cb453a97f9f1d3683aa3171894cca5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/25906385157"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-15T07:42:05.000Z",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "eb121694c3e7560323352dca3f422551adee8ac36020d4d179a65087b89c6491",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/25906385157"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-15T07:41:45.000Z",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "f5c52958fba8962a65612de30fae6e2f937b3f2dd6a50de42ade22f0befa4ec5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/25906385157"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-15T07:41:44.000Z",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "26419aad13401bda75461876190a5adc500e237a4d8e45eb5b49c4197a3df846",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/25906385157"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-15T07:41:34.000Z",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "09f1c7e1588716b3e8ac561276b6571ee1866ba62e5e5f1b914237159a63df34",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/25906385157"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-02T19:43:01.000Z",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "892503338c2ef51571dd48206473abe323efab3fd50b2bf55b909f66208795ff",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/25906385157"
    }
  ]
}