Description Usage Arguments Value Examples
View source: R/initial_SL_fit.R
wrapper for censoring regression SuperLearner
1 2 | estimate_censoring_SL(dat, T.uniq, Delta.SL.Lib = c("SL.mean", "SL.glm",
"SL.gam", "SL.earth"))
|
dat |
data.frame, with col: T, A, W, Delta |
T.uniq |
the unique time points of failure |
Delta.SL.Lib |
library for SuperLearner |
h.hat.t matrix, nrow = n.sample, ncol = length(T.uniq); each row is the predicted conditional hazard h(T=t | T>=t, A, W) for that subject
1 | # TO DO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.