Learn R Programming

ecodist (version 1.00)

vf: Vector fitting

Description

Fits environmental variables to an ordination configuration.

Usage

vf(ord, vars, nperm = 100)

Arguments

ord
matrix containing an ordination result with axes as columns.
vars
matrix with ancillary variables as columns.
nperm
number of permutation for the significance test. If nperm = 0, the test will be omitted.

Value

  • a matrix with the first n columns containing the scores for every variable in each of the n dimensions of the ordination space. r is the maximum correlation of the variable with the ordination space, and pval is the result of the permutation test.

Details

Vector fitting finds the maximum correlation of the individual variables with aconfiguration of samples in ordination space.

References

Jongman, R.H.G., C.J.F. ter Braak and O.F.R. van Tongeren. 1995. Data analysis in community and landscape ecology. Cambridge University Press, New York.

See Also

plotvf

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, 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