View source: R/datageneration.R
datagenPaper | R Documentation |
Function that generates data of the different simulation studies
presented in the accompanying paper. This function requires the
gam
package to be installed.
datagenPaper(J, n, frac.train, tao = 26.5, simulation, scenario)
J |
number of simulated data sets |
n |
number of sample size |
frac.train |
percentange train data set. A number between 0 and 1. |
tao |
time point of interest |
simulation |
study indicator. It takes on 1 and 2. |
scenario |
scenario indicator. It takes on 1, 2, 3 and 4. |
A list with the following elements:
simulated train data set
simulated test data set
and the true AUC
DT=datagenPaper(J = 1 , n = 1250, frac.train = 0.8, simulation=1, scenario=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.