Learn R Programming

cocorresp (version 0.4-4)

rescale: Rescales CoCA species scores

Description

Rescales CoCA species scores to the quarter root of the eigenvalues.

Usage

rescale(object, ...)

# S3 method for default rescale(object, ...)

# S3 method for symcoca rescale(object, choices = NULL, display = c("species", "sites"), ...)

Value

Returns a list with one or both of the following components:

species

rescaled species scores for the response

sites

rescaled species scores for the preditor

Arguments

object

an R object. Currently only objects of class "symcoca" are supported.

choices

numeric; which axes to rescale and return.

display

character; which type of scores to rescale.

...

other arguments to be passed to rescale methods. Currently not used.

Author

Matlab original by C.J.F. ter Braak and A.P. Schaffers. R port by Gavin L. Simpson.

Details

Currently only implemented for objects of class "symcoca".

See Also

symcoca

Examples

Run this code
od <- options(digits = 4)
data(bryophyte)
data(vascular)

bryo.sym <- coca(bryophyte ~ ., data = vascular, method = "symmetric")

rescale(bryo.sym, axes = 1:2)
options(od)

Run the code above in your browser using DataLab