pbdb_temp_range: pbdb_temp_range

Description Usage Arguments Value Examples

Description

constructs a plot and a dataframe with the temporal range of the taxa (species, genera, families, etc.) within in a selected higher taxon.

Usage

1
2
pbdb_temp_range (data, rank, col = "#0000FF", 
names = TRUE, do.plot =TRUE)

Arguments

data

dataframe with our query to the paleoBD pbdb_occurrences. Important, it is required to show the name of the families, orders, etc. in the dataframe, to do that set: show=c("phylo", "ident") (see example).

rank

to set which taxon rank you are interested.

col

to change the colour of the bars in the plot, skyblue2 by default.

names

TRUE/FALSE (TRUE by default). To include or not the name of the taxa in the plot

do.plot

TRUE/FALSE (TRUE by default).

Value

a plot and a dataframe with the time span of the taxa selected (species, genus, etc.)

Examples

1
2
3
4
5
6
## Not run: 
canis_quaternary<- pbdb_occurrences (limit="all", base_name="Canis", 
                 interval="Quaternary", show=c("coords", "phylo", "ident"))
pbdb_temp_range (canis_quaternary, rank="species", names=FALSE)

## End(Not run)

paleobioDB documentation built on July 26, 2020, 1:07 a.m.