Predict method for PPforest objects
Usage
# S3 method for class 'PPforest'
predict(object, newdata, rule = 1, parallel = TRUE, cores = 2, ...)
Arguments
- object
A fitted PPforest object
- newdata
A data frame with predictors (same structure as training data)
- rule
Split rule used in classification (integer from 1 to 8) 1: mean of two group means 2: weighted mean of two group means - weight with group size 3: weighted mean of two group means - weight with group sd 4: weighted mean of two group means - weight with group se 5: mean of two group medians 6: weighted mean of two group medians - weight with group size 7: weighted mean of two group median - weight with group IQR 8: weighted mean of two group median - weight with group IQR and size
- parallel
Logical, whether to use parallel processing
- cores
Number of cores to use if parallel = TRUE
- ...
Additional arguments (ignored)