pbdb_orig_ext: pbdb_orig_ext

Description Usage Arguments Value Examples

Description

Plots the appearance of new taxa across time.

Usage

1
2
3
pbdb_orig_ext (data, rank, 
temporal_extent, res, orig_ext,  
colour="#0000FF30", bord="#0000FF", 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. By default rank= "species"

temporal_extent

vector to set the temporal extent (min, max)

res

numeric. to set the intervals of the temporal extent

orig_ext

1= origination, 2=extinction.

colour

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

bord

to set the colour of the border of the polygon

do.plot

TRUE/FALSE (TRUE by default).

Value

a dataframe with the number of first appearances and extinctions of the selected taxon rank across time, and a plot with the first appearances or extinctions of the selected taxon rank across time.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
canidae<-  pbdb_occurrences (limit="all", vocab="pbdb",
base_name="Canidae", show=c("phylo", "ident"))

# plot of the evolutive rates.
pbdb_orig_ext (canidae, rank="genus", temporal_extent=c(0, 10), 
res=1, orig_ext=1) 

# plot of the extinction rates.
pbdb_orig_ext (canidae, rank="species", temporal_extent=c(0, 10), 
res=1, orig_ext=2) 

## End(Not run)

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