Learn R Programming

crestr (version 1.2.1)

calib_clim_space: Calibrate the distribution of the modern climate space.

Description

Calibrate the distribution of the modern climate space.

Usage

calib_clim_space(climate, bin_width)

Value

A ccs object that will be used by fit_pdfsp.

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.

Examples

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

Run the code above in your browser using DataLab