View source: R/process_results.R
extract_results | R Documentation |
Extract and format the results produced by the workflow
extract_results( list_results_LMM = list(), list_results_RF = list(), data = NULL ) extract_results_internal(what, who, type, data)
list_results_LMM |
a list of objects produced by |
list_results_RF |
a list of objects produced by |
data |
a dataset with info on continents if breakdown by continent is required (optional) |
what |
an object produced by |
who |
the type of staff ("rangers", "others" or "all") |
type |
the type of workflow ("LMM" or "RF") |
extract_results_internal()
: an internal function fetching the results
## Not run: LMM_small_test <- run_LMM_workflow(data = data_rangers, Ncpu = 2, coef = 1, rep_feature_select = 2, rep_finetune = 2, rep_simu = 2) RF_small_test <- run_RF_workflow(data = data_rangers, Ncpu = 2, coef = 1, rep_feature_select = 2, rep_finetune = 2, rep_simu = 2, grid_type = "coarse", n_trees = 100) extract_results(list_results_LMM = list(LMM_small_test), list_results_RF = list(RF_small_test)) %>% tidyr::unnest_wider(PA_areas) plot_features_selected(list_results_LMM = list(LMM_small_test), list_results_RF = list(RF_small_test), data = data_rangers) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.