{
  "_id": "6a49e66554b1f994258a93c5",
  "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-06-14 09:08:01 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",
  "_user": "mayamathur",
  "_type": "src",
  "_file": "SimTimeVar_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/090424a4371bf36ec2f6c056065e66f5b541f2ef71ceaa31e65eb470c3b73182",
  "_filesize": 149346,
  "_sha256": "090424a4371bf36ec2f6c056065e66f5b541f2ef71ceaa31e65eb470c3b73182",
  "_expires": "2026-10-13T05:06:44.000Z",
  "_created": "2026-06-14T09:08:01.000Z",
  "_published": "2026-07-05T05:06:45.765Z",
  "_jobs": [
    {
      "job": 85194543670,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7619492008"
    },
    {
      "job": 85194543831,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7619492555"
    },
    {
      "job": 85194543832,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7619485633"
    },
    {
      "job": 85194543733,
      "time": 91,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7619486321"
    },
    {
      "job": 85194543665,
      "time": 233,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7619473247"
    },
    {
      "job": 85194543701,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7619489406"
    },
    {
      "job": 85194543841,
      "time": 76,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7619484758"
    },
    {
      "job": 85194543738,
      "time": 99,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7619487652"
    },
    {
      "job": 85194543758,
      "time": 69,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7619483284"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mayamathur/actions/runs/27494077546",
  "_status": "success",
  "_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",
    "description": "",
    "uuid": 8933150
  },
  "_distro": "noble",
  "_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",
    "followers": 28
  },
  "_downloads": {
    "count": 183,
    "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-06-14T09:10:18.000Z",
      "distro": "noble",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "https://r2.ropensci.org/9a6544d696b65d28b04a72baa84a7d1fa07d2d7a390b60136df0edca4aff5725",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/27494077546"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-14T09:10:23.000Z",
      "distro": "noble",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "https://r2.ropensci.org/1f795d100a1cb31b1beba5a3b6de3a5fd172f4a8d7189c9868040e6f3dd6f93f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/27494077546"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-14T09:09:35.000Z",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "https://r2.ropensci.org/74bf0b67864dadfb317f9d2cae00fe9f1e8cf4ee0111136054f1539cbdb1ee53",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/27494077546"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-14T09:09:42.000Z",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "https://r2.ropensci.org/145dfbca3bde7435dce65cc0ca3887295f1cac1f38c29910385a350cea1115ce",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/27494077546"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-14T09:10:13.000Z",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "https://r2.ropensci.org/635c03714c1c78dbd58ecba44cf763c56525160668f95aa7c086fb9b9afc66e0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/27494077546"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-14T09:09:21.000Z",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "https://r2.ropensci.org/36d8d043d3ddada690bf93386a7197bdebad52318b354ec36b869208552482c4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/27494077546"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-14T09:09:43.000Z",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "https://r2.ropensci.org/df6fe3a78bfbf561fa16cb9f89757325c206d90cbd4d66f4628efd4d1af6c8a3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/27494077546"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-14T09:09:10.000Z",
      "commit": "629fbf3157540cf4a3450c7ce0fcbbf1f2cef21b",
      "fileid": "https://r2.ropensci.org/c37191bc2f4a7d2ce10084862985f6c1fe3633d0f6883c1d2181c6c4114e33bc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mayamathur/actions/runs/27494077546"
    }
  ]
}