Reads the tables of select_variables() for you: which set to start
from and how good it is, the close alternatives, the sizes for which
nothing passes and why, the variables that the good sets share and those
that never pass, the correlations that change between data sets, and
what the regional screen excluded. It is printed with the selection
(under "IN SHORT"). The suggestion is the best-ranked set of the largest
size that passes; it is a starting point, and the choice among the top
sets should be made on ecological grounds.
Arguments
- x
A
var_selectionfromselect_variables().Print the sentences (otherwise only return them).
Examples
sim <- simulate_enm_data(seed = 1)
e1 <- sim$env[["env1"]]
e2 <- sim$env[["env2"]]
now <- c(e1, e2, e1 + e2 + 0.05 * e1 * e2, e1 * e2, sqrt(e2))
names(now) <- c("t", "p", "tp", "txp", "sp")
past <- now - 0.2 * now[["t"]]
names(past) <- names(now)
es <- sample_environment(list(present = now, past = past), n = 3000,
seed = 1, verbose = FALSE)
vs <- select_variables(es, sizes = 2:3)
#> Criteria not available for these data (left out): agreement_min, regional_vif
recommend_sets(vs)
#> - Suggested set: t tp (2 variables, the largest size that passes). Largest
#> |rho| 0.70 over the data sets; VIF 1.96; 1.3% of the target cells outside
#> the reference conditions.
#> - Close alternatives of that size (Pareto front): t p; t sp.
#> - No set of 3 variables passes. All compatible combinations exceed VIF 5.
#> - Most often in the Pareto sets: t, p, tp, sp.
#> - The ranking is a guide: choose among the top sets on ecological grounds.
