SPR, an R package to simulate clinical data as part of training in R statistical programming.
You can install the released version of SPR from github:
install.packages('devtools')
library(devtools)
devtools::install_github("CJangelo/SPR")
Note that this R package is not intended for CRAN. It is for training purposes.
This R package consists of functions that simulate clinical data. These functions are intended to be used along with Vignettes to illustrate how to fit statistical models to clinical data in R. Simulation studies can be conducted using these functions that allow statistical programmers to evaluate the performance of models in clinical applications.
Vignettes are located under Articles
at the top of this page.
The Vignettes are the focus of the Training. The R package is intended to be used to simulate data to illustrate the statistical programming in R with clinical data.
Longitudinal data leads to two complications:
As a resource, please review the terrific explanations provided by Professor of Biostatistics Dimitris Rizopoulos: http://www.drizopoulos.com/courses/EMC/CE08.pdf
One important note for the Vignettes:
Tons of resources on this - can’t go wrong with the NRC panel’s report: https://www.ncbi.nlm.nih.gov/books/NBK209904/