View source: R/Cox_estimation_helpers.R
| fit_subgroup_effect | R Documentation |
GLM counterpart to get_Cox_sg. Calls the pre-built estimator closure
on a data slice and returns est_obs and se_obs in the same format
that get_Cox_sg() returns.
fit_subgroup_effect(df_sg, estimator_fn)
df_sg |
Data frame. The subgroup data slice. |
estimator_fn |
Closure from |
List with est_obs (effect estimate) and se_obs (standard error).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.