plot.rpt {rptR} | R Documentation |
Plot a rpt object
Description
Plots the distribution of repeatability estimates from bootstrapping and permutation tests.
Usage
## S3 method for class 'rpt'
plot(x, grname = names(x$ngroups), scale = c("link",
"original"), type = c("boot", "permut"), main = NULL,
breaks = "FD", xlab = NULL, ...)
Arguments
x |
An rpt object returned from one of the rpt functions. |
grname |
The name of the grouping factor to plot. |
scale |
Either "link" or "original" scale results for results of non-Gaussian functions. |
type |
Either "boot" or "permut" for plotting the results of bootstraps or permutations. |
main |
Plot title |
breaks |
hist() argument |
xlab |
x-axis title |
... |
Additional arguments to the hist() function for customized plotting. |
Value
A histogram of the distribution of bootstrapping or permutation test estimates of the repeatability including a confidence interval (CI).
Author(s)
Holger Schielzeth (holger.schielzeth@uni-jena.de), Shinichi Nakagawa (s.nakagawa@unsw.edu.au), Martin Stoffel (martin.adam.stoffel@gmail.com)
References
Nakagawa, S. & Schielzeth, H. (2010) Repeatability for Gaussian and non-Gaussian data: a practical guide for biologists. Biological Reviews 85: 935-956