Description Usage Arguments Value See Also
View source: R/get.mf.object.lm.R
This method computes predicted outcome for each observation in the data frame using the tree model supplied as an input argument.
1 2 | get.mf.object.lm(object, main_model, partition_vars, data, new_test_data,
ntree, family)
|
object |
A bootstrap model object created by bootstrap() |
main_model |
A model in character format. |
partition_vars |
A vector of partition variables. |
data |
A data frame containing the variables in the model. |
new_test_data |
A data frame representing test data for validating random forest model. This data is not used in in tree building process. |
ntree |
Number of trees to be constructed in forest (default = 300) |
family |
A description of error distribution and link function to be used in the model. This parameter needs to be specified if generalized linear model is considered. The parameter "binomial()" is to be specified when logistic regression is considered and "poisson()" when Poisson regression is considered as the node model. The values allowed for this parameter are binomial() and poisson(). |
An object of class mobforest.output
.
mobforest.control(),
mobforest.output-class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.