Skip to content

SimTimeVar

Simulate Longitudinal Dataset with Time-Varying Correlated Covariates

v1.0.0 · Sep 30, 2017 · GPL-2

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

14 NOTE
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)
NOTE r-devel-linux-x86_64-debian-clang

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>.
NOTE r-devel-linux-x86_64-debian-clang

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
       |                                                        ^
NOTE r-devel-linux-x86_64-debian-gcc

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>.
NOTE r-devel-linux-x86_64-debian-gcc

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
       |                                                        ^
NOTE r-devel-linux-x86_64-fedora-clang

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
       |                                                        ^
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘metafor’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

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
       |                                                        ^
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘metafor’
  All declared Imports should be used.
NOTE r-devel-macos-arm64

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
       |                                                        ^
NOTE r-devel-windows-x86_64

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
       |                                                        ^
NOTE r-oldrel-macos-arm64

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
       |                                                        ^
NOTE r-oldrel-macos-x86_64

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
       |                                                        ^
NOTE r-oldrel-windows-x86_64

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
       |                                                        ^
NOTE r-patched-linux-x86_64

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
       |                                                        ^
NOTE r-release-linux-x86_64

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
       |                                                        ^
NOTE r-release-macos-arm64

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
       |                                                        ^
NOTE r-release-macos-x86_64

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
       |                                                        ^
NOTE r-release-windows-x86_64

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
NOTE r-devel-linux-x86_64-debian-clang

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 = "
NOTE r-devel-linux-x86_64-debian-gcc

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 = "
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘metafor’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘metafor’
  All declared Imports should be used.
NOTE r-devel-macos-arm64

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
       |                                                        ^
NOTE r-devel-windows-x86_64

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
       |                                                        ^
NOTE r-patched-linux-x86_64

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
       |                                                        ^
NOTE r-release-linux-x86_64

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
       |                                                        ^
NOTE r-release-macos-arm64

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
       |                                                        ^
NOTE r-release-macos-x86_64

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
       |                                                        ^
NOTE r-release-windows-x86_64

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
       |                                                        ^
NOTE r-oldrel-macos-arm64

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
       |                                                        ^
NOTE r-oldrel-macos-x86_64

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
       |                                                        ^
NOTE r-oldrel-windows-x86_64

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
       |                                                        ^

Dependency Network

Dependencies Reverse dependencies metafor mvtnorm ICC miscTools car plyr corpcor psych SimTimeVar

Version History

new 1.0.0 Mar 9, 2026