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.5)SimTimeVar_1.0.0.zip(r-4.4)SimTimeVar_1.0.0.zip(r-4.3)
SimTimeVar_1.0.0.tgz(r-4.4-any)SimTimeVar_1.0.0.tgz(r-4.3-any)
SimTimeVar_1.0.0.tar.gz(r-4.5-noble)SimTimeVar_1.0.0.tar.gz(r-4.4-noble)
SimTimeVar_1.0.0.tgz(r-4.4-emscripten)SimTimeVar_1.0.0.tgz(r-4.3-emscripten)
SimTimeVar.pdf |SimTimeVar.html
SimTimeVar/json (API)

# Install 'SimTimeVar' in R:
install.packages('SimTimeVar', repos = c('https://mayamathur.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

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:

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 103 downloads 15 exports 73 dependencies

Last updated 7 years agofrom:629fbf3157. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 27 2024
R-4.5-winNOTEOct 27 2024
R-4.5-linuxNOTEOct 27 2024
R-4.4-winNOTEOct 27 2024
R-4.4-macNOTEOct 27 2024
R-4.3-winNOTEOct 27 2024
R-4.3-macNOTEOct 27 2024

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:abindbackportsbootbroomcarcarDataclicolorspacecorpcorcowplotcpp11DerivdigestdoBydplyrfansifarverFormulagenericsggplot2glueGPArotationgtableICCisobandlabelinglatticelifecyclelme4magrittrMASSmathjaxrMatrixMatrixModelsmetadatmetaformgcvmicrobenchmarkminqamiscToolsmnormtmodelrmunsellmvtnormnlmenloptrnnetnumDerivpbapplypbkrtestpillarpkgconfigplyrpsychpurrrquantregR6RColorBrewerRcppRcppEigenrlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr