extract_PA_areas | R Documentation |
This function is called by run_LMM_workflow()
or run_RF_workflow()
.
extract_PA_areas(data_final_pred, resp, data)
data_final_pred |
A final prediction dataset |
resp |
The quoted name of the response variable |
data |
the full dataset |
dat <- fill_PA_area(data_rangers, coef = 0.5) d <- build_final_pred_data(data = dat, formula = staff_rangers_log ~ GDP_2019, survey = "complete_known", spatial = TRUE, outliers = "ATA") d$data_predictable$staff_rangers_log_predicted <- 0 extract_PA_areas(d, "staff_rangers_log", dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.