vf {ecodist}R Documentation

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.

Details

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

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.

Author(s)

Sarah Goslee, Sarah.Goslee@ars.usda.gov

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


## Not run: 
# Fit vectors for the main variables to an NMDS configuration
iris.vf <- vf(iris.nmin, iris[,1:4])
plotvf(iris.vf, col="blue")
## End(Not run)

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


[Package ecodist version 1.01 Index]