View source: R/crest.calibrate.R
crest.calibrate | R Documentation |
pdfs
This function fits the climate response of the selected taxa to the selected climate variables.
crest.calibrate(
x,
bin_width = x$parameters$bin_width,
shape = x$parameters$shape,
npoints = x$parameters$npoints,
geoWeighting = x$parameters$geoWeighting,
climateSpaceWeighting = x$parameters$climateSpaceWeighting,
climateSpaceWeighting.type = x$parameters$climateSpaceWeighting.type,
verbose = TRUE
)
x |
A |
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. |
shape |
The imposed shape of the species |
npoints |
The number of points to be used to fit the |
geoWeighting |
A boolean to indicate if the species should be weighting by the square root of their extension when estimating a genus/family level taxon-climate relationships. |
climateSpaceWeighting |
A boolean to indicate if the species |
climateSpaceWeighting.type |
A correction factor for the clame space weighting correction to limit the edge effects. Either 'linear' (default), 'sqrt' or 'log'. |
verbose |
A boolean to print non-essential comments on the terminal
(default |
A crestObj
object containing the spatial distributions
and the climate space.
## Not run:
data(crest_ex_pse)
data(crest_ex_selection)
data(crest_ex)
x <- crest.get_modern_data( df = crest_ex,
pse = crest_ex_pse, taxaType = 0,
climate = c("bio1", "bio12"),
selectedTaxa = crest_ex_selection, dbname = "crest_example",
verbose = FALSE
)
x <- crest.calibrate(x,
geoWeighting = TRUE, climateSpaceWeighting = TRUE,
bin_width = c(2, 50), shape = c("normal", "lognormal"),
verbose = FALSE
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.