
Per-species fitting windows
growth_fitting_windows.RdDerives each species' window with growth_auto_window(), optionally caps it
from above, then applies any explicit age_min / age_max from
growth_scoring.csv. Blank cells keep the derived value, so the
hand-maintained file only ever has to record DEPARTURES from what the data
implies.
Usage
growth_fitting_windows(
references,
species_core,
scoring = NULL,
mort_shp = NULL,
caps = NULL,
cap_label = "cap",
...
)Arguments
- references
Named list of reference tables, one per species.
- species_core
A tibble with
speciesandlongevity.- scoring
A tibble from
read_growth_scoring(), orNULL.- mort_shp
Per-species
MortalityCurve: a named numeric vector, or a data frame withspeciesandmort_shp. Supplying it makes each window close at that species' own onset of age-related mortality rather than at a single fraction shared by every species; seegrowth_auto_window(). A species missing from it falls back tosenescence_frac.- caps
Optional tibble with
speciesandcap_age, an upper bound onmature_to– e.g. the age at which an in-use reference curve plateaus, beyond which it carries no shape left to fit. Species absent from it are left alone.- cap_label
Character. The
window_sourcevalue recorded for a species whose windowcapsactually shortened.- ...
Passed to
growth_auto_window().
Details
The three sources are applied in increasing order of authority: derived, then
caps, then scoring. A hand-set bound is a constraint rather than a
preference, so it wins over a cap; window_source reports which one the
returned window came from.
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_distance(),
growth_climatic_weight(),
growth_expand_over_pseudo_species(),
growth_factorial_ratio_grid(),
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()