Learn R Programming

ecodist (version 1.1.0)

plotvf: Plots fitted vectors onto an ordination diagram

Description

Add vector fitting arrows to an existing ordination plot.

Usage

plotvf(x, pval = 1, cex = 0.8, ascale = 0.9, ...)

Arguments

x
output from vf()
pval
optional, critical p-value for choosing variables to plot
cex
text size
ascale
optional, proportion of plot area to use when calculating arrow length
...
optional, other graphics parameters

Value

  • Adds arrows to an existing ordination plot. Only arrows with a p-value less than pval are added. By default, all variables are shown.

See Also

vf

Examples

Run this code
# Fit vectors for the main variables to an NMDS configuration
iris.vf <- vf(iris.nmin, iris[,1:4])
plotvf(iris.vf, pval = 0.05, col="blue")

# A full example is available in the NMDS 
# section of the main help file for \link{ecodist}.

Run the code above in your browser using DataLab