Description Usage Arguments Examples
This function assumes time starts at 1 and counts unit increments. Expands into a regular pattern of quasi observations up to step observationWindowWidth for scoring of data (without known outcomes).
1 2 | buildQuasiObsForApplication(d, observationWindowWidth, idColumnName,
indexColumnName, parallelCluster = NULL)
|
d |
data.frame to expand |
observationWindowWidth |
scalar, step number to expand to |
idColumnName |
character scalar, column to write original row ids in |
indexColumnName |
character scalar, column to write quasi event indices into |
parallelCluster, |
if not NULL parallel cluster to perform the work. |
1 2 | d <- data.frame(lifetime=c(2,1,2),censored=c(FALSE,FALSE,TRUE))
buildQuasiObsForApplication(d,5,'origRow','sampleAge')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.