plotbetadisper: Plot a betadisper object

View source: R/plotbetadisper.R

plotbetadisperR Documentation

Plot a betadisper object

Description

Function to create PERMDISP graphs using ggplot2. The function has one argument that you to use to make graphs of ordination type.

Usage

plotbetadisper(x)

Arguments

x

One object of class betadisper.

Value

The function will return a ordinaition of ggplot class.

Author(s)

Rafael Costa Bastos

Examples

require(vegan)
require(ggplot2)
require(ggConvexHull)
data(varespec)
dist <- vegdist(varespec)
gp <- factor(c(rep(1,16), rep(2,8)), labels = c("grazed","ungrazed"))
mod <- betadisper(dist, gp)
plotbetadisper(mod)

bastosrc/graphTest documentation built on Feb. 23, 2024, 11:28 p.m.