fadlad | R Documentation |
Function to generate range data from an occurrence dataset.
fadlad(
x,
tax,
bin = NULL,
age = NULL,
revtime = FALSE,
na.rm = TRUE,
diffbin = TRUE
)
x |
|
tax |
|
bin |
|
age |
|
revtime |
|
na.rm |
|
diffbin |
|
The function will output First and Last Appearance Dates of the taxa in the dataset. Keep in mind that incomplete sampling will influence these data and will make the ranges appear shrunken.
The following variables are produced:
row.names
attribute: The names of the taxa.
FAD
: First appearance dates in time bin nmbers or ages.
LAD
: Last appearance dates in time bin numbers or ages.
duration
: The durations of taxa in bin numbers or ages.
A data.frame, with rows corresponding to tax
entries.
data(corals)
# binned data
flBinned <- fadlad(corals, tax="genus", bin="stg")
# using basic bin lengths
flDual <- fadlad(corals, tax="genus", age=c("max_ma", "min_ma"))
# single age esimate
data(stages)
corals$mid <- stages$mid[corals$stg]
flSingle <- fadlad(corals, tax="genus", age="mid")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.