plot.count
From untb v1.6-5
by Robin K S Hankin
Abundance curves
Plot the ranked abundance curve
- Keywords
- math
Usage
## 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, ...)
Arguments
- x
- Ecosystem object, coerced to class count
- uncertainty
- Boolean,
with
TRUE
meaning to show bootstrapped estimates for the species diversity curve, and defaultFALSE
meaning to omit this. - expectation
- Boolean,
with
TRUE
meaning to plot expected abundances, and defaultFALSE
meaning not to plot them. Warning this option takes a loooong time to run, even for moderate values of $J$. - theta
- Fundamenal biodiversity number used if argument
uncertainty
orexpectation
areTRUE
. Default value ofNULL
means to use the maximum likelihood estimate returned by functionoptimal.the
- n
- Number of bootstrapped estimates to plot
- ...
- Extra parameters passed to
untb()
.
Details
Plots a ranked abundance curve, optionally with parametrically resampled datasets showing the uncertainties
Note
If using expectation
, it's usually necessary to set ylim
and possibly xlim
manually.
Examples
data(copepod)
plot(copepod)
data(butterflies)
plot(butterflies,uncertainty=TRUE)
Community examples
Looks like there are no examples yet.