Package: SimTimeVar 1.0.0

Maya B. Mathur

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-any)SimTimeVar_1.0.0.zip(r-4.6-any)SimTimeVar_1.0.0.zip(r-4.5-any)
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
DESCRIPTION
card.svg |card.png
SimTimeVar/json (API)

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

Bug tracker:https://github.com/cranhaven/cranhaven.r-universe.dev/issues

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:

archivedpackagesr-universe

1.70 score 5 stars 192 downloads 15 exports 81 dependencies

Last updated from:5f686a137c (on package/SimTimeVar). Checks:7 NOTE, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE193
source / vignettesOK209
linux-release-x86_64NOTE163
macos-release-arm64NOTE92
macos-oldrel-arm64NOTE83
windows-devel-x86_64NOTE77
windows-release-x86_64NOTE66
windows-oldrel-x86_64NOTE72
wasm-releaseOK122

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