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.

15 exports 0.00 score 72 dependencies 13 scripts 132 downloads

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

TargetResultDate
Doc / VignettesOKAug 28 2024
R-4.5-winNOTEAug 28 2024
R-4.5-linuxNOTEAug 28 2024
R-4.4-winNOTEAug 28 2024
R-4.4-macNOTEAug 28 2024
R-4.3-winNOTEAug 28 2024
R-4.3-macNOTEAug 28 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:abindbackportsbootbroomcarcarDataclicolorspacecorpcorcowplotcpp11DerivdigestdoBydplyrfansifarvergenericsggplot2glueGPArotationgtableICCisobandlabelinglatticelifecyclelme4magrittrMASSmathjaxrMatrixMatrixModelsmetadatmetaformgcvmicrobenchmarkminqamiscToolsmnormtmodelrmunsellmvtnormnlmenloptrnnetnumDerivpbapplypbkrtestpillarpkgconfigplyrpsychpurrrquantregR6RColorBrewerRcppRcppEigenrlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr