plot.count | R Documentation |
Plot the ranked abundance curve
## S3 method for class 'count'
plot(x, uncertainty = FALSE, expectation = FALSE, theta = NULL, n = 10, ...)
## S3 method for class 'census'
plot(x, uncertainty = FALSE, expectation = FALSE, theta = NULL, n = 10, ...)
x |
Ecosystem object, coerced to class count |
uncertainty |
Boolean,
with |
expectation |
Boolean,
with |
theta |
Fundamental biodiversity number used if argument
|
n |
Number of bootstrapped estimates to plot |
... |
Extra parameters passed to |
Plots a ranked abundance curve, optionally with parametrically resampled datasets showing the uncertainties
If using expectation
, it's usually necessary to set ylim
and possibly xlim
manually.
Robin K. S. Hankin
data(copepod)
plot(copepod)
data(butterflies)
plot(butterflies,uncertainty=TRUE)
x <- count(c(pigs=1, dogs=1, cats=2, frogs=3, bats=5, slugs=8))
plot(x,expectation=TRUE,ylim=c(0.5,10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.