Predict method for semtree and semforest
# S3 method for semforest
predict(object, data, type = "node_id", ...)Object of class semtree or `semforest`.
New test data of class data.frame. If no data is provided,
attempts to extract the data from the object.
Type of prediction. One of `c('node_id')`. See Details.
further arguments passed to or from other methods.
Object of class matrix.