Description Usage Arguments Value Author(s) References Examples
View source: R/plot.haploAccum.R
Plots the accumulation curves calculated by haploAccum
.
1 2 3 4 5 
x 
A ‘haploAccum’ object obtained from 
add 
Add graph to an existing graph. 
ci 
Multiplier for the calculation of confidence intervals from
standard deviation. 
ci.type 
Type of confidence intervals: 
col 
Colour for curve line. 
ci.col 
Colour for lines or shaded area when 
ci.lty 
Line type for confidence interval lines or border of the

xlab 
Label for the Xaxis. 
ylab 
Label for the Yaxis. 
ylim 
Yaxis limits. 
main 
Title of the plot. 
... 
Other parameters to pass to plot. 
Plots a haplotype accumulation curve and confidence intervals
depending on the options given to haploAccum
.
Jagoba MalumbresOlarte <[email protected]>.
Gotellli, N.J. & Colwell, R.K. (2001). Quantifying biodiversity: procedures and pitfalls in measurement and comparison of species richness. _Ecology Letters_ *4* 379–391.
1 2 3 4 5 6 7 8  data(dolomedes)
#Generate multiple haplotypes
doloHaplo < dolomedes[sample(37, size = 200, replace = TRUE), ]
dolocurv < haploAccum(doloHaplo, method = "random", permutations = 100)
graphics::plot(dolocurv)
graphics::plot(dolocurv, add = FALSE, ci = 2, ci.type = "polygon", col = "blue", ci.col = "red",
ci.lty = 1)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.