Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/divCurveFossilRecordSim.R
An extremely simple plotting function, which plots the original taxonomic diversity
versus the sampled taxonomic diversity, for use with output from the function simFossilRecord
.
If sampling processes were not included in the model, then it plots simply the
single diversity curve.
1 2 3 | divCurveFossilRecordSim(fossilRecord, merge.cryptic = TRUE,
plotLegend = TRUE, legendPosition = "topleft", curveColors = c("black",
"red"), curveLineTypes = c(1, 2))
|
fossilRecord |
A list object output by |
merge.cryptic |
If |
plotLegend |
A logical. Should a legend be plotted? Only applies if sampling processes were modeled. |
legendPosition |
Where should the legend be plotted? See help for |
curveColors |
A vector of length two indicating what colors the original and sampled diversity curves should be displayed in. Only applies if sampling processes were modeled. |
curveLineTypes |
A vector of length two indicating what colors the original and sampled diversity curves should be displayed in. Only applies if sampling processes were modeled. |
This function is essentially a wrapper for paleotree
function multiDiv
.
This function returns nothing: it just creates a plot.
David W. Bapst
1 2 3 4 5 6 | set.seed(44)
record <- simFossilRecord(p=0.1, q=0.1, r=0.1, nruns=1,
nTotalTaxa=c(20,30) ,nExtant=0, plot=FALSE)
# now let's plot it
divCurveFossilRecordSim(record)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.