survscreen.template | R Documentation |
This is a template function for a survSuperLearner
screening algorithm. You can use this to write your own screening algorithms.
survscreen.template(time, event, X, obsWeights, id, ...)
time |
Observed follow-up time; i.e. minimum of the event and censoring times. |
event |
Observed event indicator; i.e, whether the follow-up time corresponds to an event or censoring. |
X |
Training covariate data.frame. |
obsWeights |
Observation weights. |
id |
Observation clusters. |
... |
Additional ignored arguments. |
Logical vector of the same length as the number of columns as X
indicating which variables should be included.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.