View source: R/add_dummy_partition.R
| add_dummy_partition | R Documentation |
Additional logical Predictor via Repeated Partitioning
add_dummy_partition(
start.model,
x,
data = eval(start.model$call$data),
times,
mc.cores = getOption("mc.cores"),
...
)
start.model |
a regression model, e.g., lm, glm, or coxph, etc. |
x |
one-sided formula,
numeric predictors |
data |
(optional) data.frame in the model call of |
times, ... |
additional parameters of function createDataPartition or |
mc.cores |
integer scalar, see function mclapply |
Function add_dummy_partition() returns an object of class 'add_dummy'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.