SimTimeVar
Simulate Longitudinal Dataset with Time-Varying Correlated Covariates
Description
Flexibly simulates a dataset with time-varying covariates with user-specified exchangeable correlation structures across and within clusters. Covariates can be normal or binary and can be static within a cluster or time-varying. Time-varying normal variables can optionally have linear trajectories within each cluster. See ?make_one_dataset for the main wrapper function. See Montez-Rath et al. <arXiv:1709.10074> for methodological details.
Downloads
154
Last 30 days
21216th
154
Last 90 days
154
Last year
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-macos-arm64 | NOTE |
| r-devel-windows-x86_64 | NOTE |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | NOTE |
| r-release-linux-x86_64 | NOTE |
| r-release-macos-arm64 | NOTE |
| r-release-macos-x86_64 | NOTE |
| r-release-windows-x86_64 | NOTE |
Check details (18 non-OK)
CRAN incoming feasibility
Maintainer: ‘Maya B. Mathur <mmathur@stanford.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = c("Maya", "B."),
family = "Mathur",
role = c("aut", "cre"),
email = "mmathur@stanford.edu"),
person(given = "Kristopher",
family = "Kapphahn",
role = "aut"),
person(given = "Ariadna",
family = "Garcia",
role = "aut"),
person(given = "Manisha",
family = "Desai",
role = "aut"),
person(given = c("Maria", "E."),
family = "Montez-Rath",
role = "aut"))
as necessary.
The Description field contains
the main wrapper function. See Montez-Rath et al. <arXiv:1709.10074>
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
CRAN incoming feasibility
Maintainer: ‘Maya B. Mathur <mmathur@stanford.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = c("Maya", "B."),
family = "Mathur",
role = c("aut", "cre"),
email = "mmathur@stanford.edu"),
person(given = "Kristopher",
family = "Kapphahn",
role = "aut"),
person(given = "Ariadna",
family = "Garcia",
role = "aut"),
person(given = "Manisha",
family = "Desai",
role = "aut"),
person(given = c("Maria", "E."),
family = "Montez-Rath",
role = "aut"))
as necessary.
The Description field contains
the main wrapper function. See Montez-Rath et al. <arXiv:1709.10074>
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
dependencies in R code
Namespace in Imports field not imported from: ‘metafor’ All declared Imports should be used.
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
dependencies in R code
Namespace in Imports field not imported from: ‘metafor’ All declared Imports should be used.
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Check History
NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
CRAN incoming feasibility
Maintainer: ‘Maya B. Mathur <mmathur@stanford.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = c("Maya", "B."),
family = "Mathur",
role = c("aut", "cre"),
email = "mmathur@stanford.edu"),
person(given = "Kristopher",
family = "Kapphahn",
role = "aut"),
person(given = "Ariadna",
family = "
CRAN incoming feasibility
Maintainer: ‘Maya B. Mathur <mmathur@stanford.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = c("Maya", "B."),
family = "Mathur",
role = c("aut", "cre"),
email = "mmathur@stanford.edu"),
person(given = "Kristopher",
family = "Kapphahn",
role = "aut"),
person(given = "Ariadna",
family = "
dependencies in R code
Namespace in Imports field not imported from: ‘metafor’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘metafor’ All declared Imports should be used.
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^
Rd files
checkRd: (-1) make_one_dataset.Rd:67: Lost braces; missing escapes or markup?
67 | \code{within.SD} to be extremely small (e.g., $1 * 10^{-7}$) and all corresponding correlations in matrix
| ^