
Score each observation by climatic distance from a target
growth_climatic_distance.RdGround plots from a wider area can inform a calibration, but only in proportion to how much their climate resembles the landscape being modelled. This scores each observation individually, which is the point: aggregating plots into map units first and comparing unit means makes the comparison only as reliable as the thinnest unit, and map units carrying a handful of plots get estimates too noisy to rank.
Usage
growth_climatic_distance(climate, target, vars = names(target), scale = NULL)Arguments
- climate
A data frame with one row per observation and one column per climate variable.
- target
Named numeric vector giving the target climate.
- vars
Character. Variables to compare on; defaults to the names of
target.- scale
Optional named numeric vector of per-variable spreads. Defaults to each variable's standard deviation across
climate.
Details
Distance is the root-mean-square deviation across variables after standardizing each by its spread, so that a variable measured in millimetres does not swamp one measured in degrees.
See also
Other growth calibration helpers:
extract_landscape_cohort_structures(),
growth_add_objective(),
growth_auto_window(),
growth_best_candidates(),
growth_bin_observations(),
growth_calibration_design(),
growth_calibration_partition(),
growth_calibration_work_root(),
growth_climatic_weight(),
growth_expand_over_pseudo_species(),
growth_factorial_ratio_grid(),
growth_fitting_windows(),
growth_identifiability(),
growth_inflation_factor(),
growth_mortality_onset_frac(),
growth_plot_palette(),
growth_pseudo_species_name(),
growth_reference_curves(),
growth_reference_inflection(),
growth_score_fit(),
growth_scoring_for(),
growth_smooth_observations(),
growth_structure_cell_curves(),
growth_structure_cohort_table(),
growth_structure_design(),
growth_structure_summary(),
growth_window_for(),
plot_growth_calibration(),
plot_growth_candidate(),
plot_growth_factorial_sensitivity(),
plot_growth_structures(),
read_growth_scoring(),
read_landscape_cohort_structures(),
scale_linetype_growth_reference(),
write_growth_review_bundle()