Package: SimTimeVar 1.0.0

SimTimeVar: Simulate Longitudinal Dataset with Time-Varying Correlated Covariates

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.

Authors:Maya B. Mathur, Kristopher Kapphahn, Ariadna Garcia, Manisha Desai, Maria E. Montez-Rath

SimTimeVar_1.0.0.tar.gz
SimTimeVar_1.0.0.zip(r-4.7)SimTimeVar_1.0.0.zip(r-4.6)SimTimeVar_1.0.0.zip(r-4.5)
SimTimeVar_1.0.0.tgz(r-4.6-any)SimTimeVar_1.0.0.tgz(r-4.5-any)
SimTimeVar_1.0.0.tar.gz(r-4.7-any)SimTimeVar_1.0.0.tar.gz(r-4.6-any)
SimTimeVar_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
SimTimeVar/json (API)

# Install 'SimTimeVar' in R:
install.packages('SimTimeVar', repos = c('https://mayamathur.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • cat.params - An example dataframe for categorical variable parameters
  • params - An example parameters dataframe
  • pcor - An example across-cluster correlation dataframe
  • wcor - An example within-cluster correlation dataframe

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.11 score 13 scripts 170 downloads 15 exports 82 dependencies

Last updated from:629fbf3157. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE144
source / vignettesOK166
linux-release-x86_64NOTE118
macos-release-arm64NOTE105
macos-oldrel-arm64NOTE96
windows-develNOTE91
windows-releaseNOTE81
windows-oldrelNOTE88
wasm-releaseOK118

Exports:add_one_categoricaladd_time_function_varsBN.rBoundclosestcomplete_parametersexpand_matrixexpand_subjectshas_drug_suffixmake_one_datasetmake_one_linear_predmod.jointly.generate.binary.normaloverride_staticoverride_tbin_probsproportionizeupper_tri_vec

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecorpcorcowplotcpp11DerivdigestdoBydplyrfarverforecastFormulafracdiffgenericsggplot2glueGPArotationgtableICCisobandlabelinglatticelifecyclelme4lmtestmagrittrMASSmathjaxrMatrixMatrixModelsmetadatmetaformgcvmicrobenchmarkminqamiscToolsmnormtmodelrmvtnormnlmenloptrnnetnumDerivpbapplypbkrtestpillarpkgconfigplyrpsychpurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangS7scalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo