data <- MRFcov::Bird.parasites
Y <- data %>%
dplyr::select(-scale.prop.zos) %>%
dplyr::select(order(everything()))
X <- data %>%
dplyr::select(scale.prop.zos)
mrIML_bird_parasites_RFAn object of class list of length 3.
model_rf <- parsnip::rand_forest( trees = 10, # 10 trees are set for brevity. Aim to start with 1000 mode = "classification", mtry = tune::tune(), min_n = tune::tune(), engine = "randomForest" )
mrIML_bird_parasites <- mrIMLpredicts( X = X, Y = Y, X1 = Y, Model = model_rf, prop = 0.7, k = 2, racing = FALSE )