Plot_Rarefaction {GeoRange} | R Documentation |
Plots the measured value versus rarefied samples or percent error of estimates (PEE) of a rarefied samples for a geographic range measure
Description
Plots the measured value versus rarefied samples or percent error of estimates (PEE) of a rarefied samples for a geographic range measure
Usage
Plot_Rarefaction(Mes1_AllTaxa, Mes2_AllTaxa, symbol = 20, measure = 2,
SampSize = 1, color = "black")
Arguments
Mes1_AllTaxa |
- Vector list of measured values for multiple taxa, from the GeoRarefaction_MultiTaxa function, or PEE calculations for multiple taxa, from from PEE_MultiTaxa function |
Mes2_AllTaxa |
- Vector list of measured values for multiple taxa, output from GeoRarefaction_MultiTaxa function |
symbol |
- Symbol used for plotting, as per pch graphical parameter |
measure |
- Specifies which measure to be plotted, 2=MST 3=CH 4=GCD 5=LatRg 6=LongRg 7=CellCount |
SampSize |
- Specifies the index value of the rarefaction sample size from the PEE_AllTaxa parameter |
color |
- Specifies the color of symbols being plotted |
Details
For each taxon for a specific geographic range measure using 95 Measure paramter is the ordinal position of the measure of interest 2=MST,3=CH,4=GCD,5=LatRg,6=LongRg,7=CellCount SampSize parameter indicates the index column position of steps size, default is first column (all points)
Value
Returns a plot of measured geographic range values or PEE versus true value for a specific geographic range measure at varying sample sizes
Examples
## Not run:
data(BivalvePBDB)
BivalveMatrix<-CoordList_PBDB(BivalvePBDB)
BivalveGeo<-GeoRarefaction_MultiTaxa(nLocCut=20,OccMatrix=BivalveMatrix,TaxaStart=3,replacePts=TRUE)
BivalvePEE<-PEE_MultiTaxa(BivalveGeo)
Plot_Rarefaction(BivalvePEE,BivalveGeo,symbol=20,measure=2,SampSize=2)
## End(Not run)