Description Usage Arguments Details Value See Also Examples
Model fit for cbenefit
1 |
formula |
A formula to be evaluated for the model |
data |
A data frame or the name of the data frame where the formula may be evaluated |
model |
One of "coxph" for a Cox model or "glm" for logistic regression |
... |
Further argumnets that are passed on to 'glm' or 'coxph' |
The function does not spend time checking its input. In particular, the function has only been tested with complete case data frames, and where the treatment is coded as 0 (control) and 1 (treated).
A model fit of type coxph or glm
model_fit_glmnet
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.