Description Usage Arguments Author(s) Examples
Multivariate dispersion analysis based on ggplot2 and betadisper function of vagan package
1 | ggbeta.disp(data, type = "ordiplot", pc = 12, show.pvalue = TRUE)
|
data |
a data frame with the first collounm as the grouping information |
type |
the type of result to present, one of "boxplot", "ordiplot" or "mod", default value is ordiplot. |
pc |
which axis to present, one of 12, 13, or 23, the default value is 12. |
show.pvalue |
a boolean value, the default value is TRUE. |
Zhonghui Gai
1 2 3 4 5 6 7 8 | genus.Syn <- read.csv(file = "genus.Syn.csv", row.names = 1)
ggbeta.disp(genus.Syn, pc = 12)
library(vegan)
plot(mod, ellipse = T, hull = F, conf = 0.95, axes = c(1,2))
vegan:::plot.betadisper(mod)
vegan:::boxplot.betadisper(mod)
ggbeta.disp(genus.Syn, pc = 12, type = "boxplot")
ggbeta.disp(genus.Syn, pc = 12, type = "mod")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.