calib_clim_space: Calibrate the distribution of the modern climate space.

View source: R/mod_fit_pdfsp.R

calib_clim_spaceR Documentation

Calibrate the distribution of the modern climate space.

Description

Calibrate the distribution of the modern climate space.

Usage

calib_clim_space(climate, bin_width)

Arguments

climate

A vector of climatic values where the species is present.

bin_width

The width of the bins used to correct for unbalanced climate state. Use values that split the studied climate gradient in 15-25 classes (e.g. 2°C for temperature variables). Default is 1.

Value

A ccs object that will be used by fit_pdfsp.

Examples

calib_clim_space(sample(0:300 / 10, 4000, replace = TRUE), 2)


mchevalier2/crestr documentation built on Feb. 14, 2025, 6:31 p.m.