pdf_ranges: Calculate the climate tolerance of the taxa from their pdfs.

View source: R/pdf_ranges.R

pdf_rangesR Documentation

Calculate the climate tolerance of the taxa from their pdfs.

Description

Calculate the climate tolerance of the taxa from their pdfs.

Usage

pdf_ranges(
  x,
  climate = x$parameters$climate,
  taxanames = x$input$taxa.name,
  uncertainties = x$parameters$uncertainties,
  orderby = NA
)

Arguments

x

A crestObj generated by either the crest.calibrate, crest.reconstruct or crest functions.

climate

Climate variables to be used to generate the plot. By default all the variables are included.

taxanames

A list of taxa to use for the plot (default is all the recorded taxa).

uncertainties

A (vector of) threshold value(s) indicating the error bars that should be calculated (default are the values stored in x).

orderby

A string ('name', or one of the climate variables) to sort the output table

Value

The set of coordinates ext projected in equal earth.

Examples


data(reconstr)
pdf_ranges(reconstr, climate='bio1')
pdf_ranges(reconstr, climate='bio12', orderby='bio1', uncertainties=c(0.2, 0.6, 0.95))


crestr documentation built on Jan. 6, 2023, 5:23 p.m.