Description Usage Arguments Value Examples
Fit a model with a specific function
1 | fitmodel.fn(method, x, y, treeplotsavepath = NULL, ...)
|
method |
a string. currently only method="ctree" or "rf" (random forest). |
x |
a predictors, a dataframe. |
y |
variable to predict, a vector |
treeplotsavepath |
a |
... |
synthetic parameters to pass to the right fit model function. the fit model function name is the concatenation of "fit.model" and method |
a sublist of synparameters, which names are possible arguments of synthpop::syn.ctree if method="ctree".
1 | fitmodel.fn(method="ctree",x=iris[,-5],y=iris$Species,nbuckets=30,tutu="not a good argument")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.