function for plotting total diversity

Description

A simple plotting interface for comparing total diversity across samples or a covariate gradient.

Usage

1
2
3
betta_pic(y, se, x=1:length(y), ylimu=NA, myy=NA, mymain=NA,
          mycol=rep("black", length(y)), labs=NA, mypch=rep(16, length(y)),
          myxlim=c(0.8*min(x, na.rm=T), 1.2*max(x, na.rm=T)))

Arguments

y

A vector of estimates of total diversity. Other parameter estimates are accessible; this method may be used for plotting any parameter estimates..

se

The standard errors in y, the diversity (or other parameter's) estimates.

x

A vector of covariates to form the x-coordinates of the intervals. If no argument is given, defaults to the order.

ylimu

The upper endpoint of the y-axis.

myy

A label for the y-axis. Default is none.

mymain

A main title for the plot. Default is none.

mycol

Colors for the plotting points. Default is black.

labs

x-axis labels. Default is none (non x-axis plotted).

mypch

Plotting characters for the estimates. Defaults to circles.

myxlim

A vector of x-axis limits. Default is 0 to 10% greater than the maximum x value.

Author(s)

Amy Willis

References

Willis, A., Bunge, J., and Whitman, T. (2015). Inference for changes in biodiversity. arXiv preprint.

See Also

betta

Examples

1
2
betta_pic(c(1552,1500,884),c(305,675,205),mymain="Example title")