preENM checks the data from many sides, each in its own function. Before
fitting, assess_enm_data() gathers the results you have into one table:
for each, the area of the data it concerns, a status (ok, review,
issue, or info where nothing is judged), the finding in plain words
and what to do. Each status is the verdict of the function that made the
result, read from it, so the grades and their sources stay as
documented there. There is deliberately no overall score: a total of the
statuses would suggest a confidence that the separate diagnostics do not
give.
Usage
assess_enm_data(
...,
records = NULL,
uncertainty = NULL,
sample_size = NULL,
m = NULL,
l_stability = NULL,
availability = NULL,
truncation = NULL,
coverage = NULL,
predictors = NULL,
aggregation = NULL,
background = NULL,
target_group = NULL,
cv_design = NULL,
geographic_null = NULL,
importance = NULL
)Arguments
- ...
Results of the functions below or others, named (the name is shown) or not; a second result of the same kind (e.g. another M) goes here.
- records
Result of
filter_occurrences().- uncertainty
Result of
uncertainty_environment().- sample_size
Result of
check_sample_size().- m
Result of
delimit_m().- l_stability
Result of
linking_stability().- availability
Result of
m_availability().- truncation
Result of
niche_truncation().- coverage
Result of
niche_coverage().- predictors
Result of
select_variables().- aggregation
Result of
sampling_aggregation().- background
Result of
background_sufficiency().- target_group
Result of
target_group_check().- cv_design
Result of
cv_sensitivity().- geographic_null
Result of
geographic_null().- importance
Result of
importance_stability(). The slots must be named in full.
Value
An object of class enm_assessment: table (one row per result:
name, area, status, finding, advice).
Details
Results understood: check_sample_size(), delimit_m(),
linking_stability(), m_availability(), niche_truncation(),
niche_coverage(), select_variables(), background_sufficiency(),
target_group_check(), sampling_aggregation(), geographic_null(),
cv_sensitivity(), importance_stability(), and the records of
filter_occurrences() or uncertainty_environment(). Others are listed
as not assessed.
Status and limits. A preENM summary of preENM diagnostics; it adds no new judgement. A diagnostic that was not run is absent, not "ok".
References
Zurell, D., Franklin, J., Konig, C., et al. (2020) A standard protocol for reporting species distribution models. Ecography 43, 1261-1277. doi:10.1111/ecog.04960
Examples
sim <- simulate_enm_data(seed = 1, n_presence = 150)
ss <- check_sample_size(sim$presence, sim$env, n_predictors = 2)
tr <- niche_truncation(sim$presence, sim$env)
sa <- sampling_aggregation(sim$presence, sim$env, grains = c(25, 50),
n_null = 9)
assess_enm_data(sample_size = ss, truncation = tr, aggregation = sa)
#> Assessment of the data before modelling: 3 result(s)
#>
#> IN SHORT
#> - 0 issue(s), 1 to review, 2 ok.
#> - REVIEW aggregation: records aggregated at 50 km; no target group to tell
#> recording from the species. Consider thinning or a bias-corrected
#> background.
#>
#> name area status
#> aggregation sampling bias review
#> sample_size sample size ok
#> truncation niche truncation ok
#> finding
#> records aggregated at 50 km; no target group to tell recording from the species
#> all minimum numbers reached
#> no predictor truncated by M
#>
#> Each status is the verdict of the function that made the result. There is
#> no overall score, and a diagnostic not run is absent, not ok.
