ggbeta.disp: Multivariate dispersion analysis based on ggplot2 and...

Description Usage Arguments Author(s) Examples

View source: R/ggbeta.disp.R

Description

Multivariate dispersion analysis based on ggplot2 and betadisper function of vagan package

Usage

1
ggbeta.disp(data, type = "ordiplot", pc = 12, show.pvalue = TRUE)

Arguments

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.

Author(s)

Zhonghui Gai

Examples

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")

ZhonghuiGai/veganEx documentation built on Dec. 18, 2021, 9:20 p.m.