static_glm(formula, data, by, max_T, id, family = "logit", model = F, weights, risk_obj = NULL, ...)
data
. This is important when variables are time varying"logit"
or "exponential"
for the static equivalent model of ddhazard
TRUE
if you want to save the design matrix used in glm
get_risk_obj
. Will be used to skip some computationsglm
glm
call
ddhazard
fit. The method uses weights to ease the memory requirements. See get_survival_case_weigths_and_data
for details on weights