Learn R Programming

inbreedR (version 0.2.0)

plot.inbreed: Plot an inbreed object

Description

Plot an inbreed object

Usage

## S3 method for class 'inbreed':
plot(x, plottype = c("boxplot", "histogram"), ...)

Arguments

x
An inbreed object.
plottype
"boxplot" or "histogram" to plot the output of r2_hf() and to show either the boxplots through resampling of loci or the histogram from the bootstrapping of r2 over individuals.
...
Additional arguments to the hist() function for the g2 and the HHC functions. Additional arguments to the boxplot() function for plotting the result of the r2_hf() function.

See Also

g2_snps, g2_microsats