Description Usage Arguments Value Examples
View source: R/initial_SL_fit.R
use T, A, C, W data format as input
1 2 | estimate_hazard_SL(dat, T.uniq, ht.SL.Lib = c("SL.mean", "SL.glm", "SL.gam",
"SL.earth"))
|
dat |
data.frame, with col: T, A, C, W |
T.uniq |
vector of unique event times |
ht.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.