survSuperLearner.control | R Documentation |
This function initiates control parameters for the survSuperLearner
function.
survSuperLearner.control(
initWeightAlg = "survSL.rfsrc",
initWeight = "censoring",
max.SL.iter = 20,
event.t.grid,
cens.t.grid,
saveFitLibrary = TRUE
)
initWeightAlg |
Algorithm to use for the first iteration of the iterative SuperLearner algorithm. Defaults to |
initWeight |
Whether to start the iterative SuperLearner by fitting censoring weights ( |
max.SL.iter |
Maximum iterations of the iterative SuperLearner algorithm. Defaults to 20. |
event.t.grid |
Grid of times to use to approximate the integral in the risk function for the conditional survival function of the event. Defaults to 250 points equally spaced between 0 and the last uncensored follow-up time. |
cens.t.grid |
Grid of times to use to approximate the integral in the risk function for the conditional censoring survival function. Defaults to 250 points equally spaced between 0 and the last censored follow-up time, minus a small constant in order to approximate left-continuous survivals. |
saveFitLibrary |
Logical indicating whether to save the fit library on the full data. Defaults to |
Returns a named list with control parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.