parse_formula | R Documentation |
cmprsk2
formulaParse a crr2
or cuminc2
formula into useful
pieces and optionally check data source for errors.
parse_formula(formula, data = NULL, name = NULL)
formula |
a valid |
data , name |
optional data frame and data name to check variables
from |
A list with the following elements:
formula |
the unchanged |
lhs_vars |
all variable names found on the left-hand side of
|
rhs_vars |
all variable names found on the right-hand side of
|
lhs |
the left-hand side of |
rhs |
the right-hand side of |
ftime |
variable in |
fstatus |
variable in |
cencode |
censor code, a value of |
failcode |
failure code of interest if given, a value of
|
cov1 |
|
cov2 |
|
strata |
strata variable names |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.