| add_numeric | R Documentation |
Additional predictor as numeric.
add_numeric(
start.model,
x,
data = eval(start.model$call$data),
mc.cores = getOption("mc.cores"),
...
)
start.model |
a regression model (e.g., lm, glm, or coxph, etc.) |
x |
one-sided formula to specify
the numeric predictors |
data |
data.frame |
mc.cores |
integer scalar, see function mclapply |
... |
additional parameters, currently of no use |
Function add_numeric() treats each additional predictor as a numeric variable,
and updates the starting model with each additional predictor.
Function add_numeric() returns an add_numeric object,
which is a listof objects with an internal class 'add_numeric_'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.