Learn R Programming

cocorresp (version 0.4-1)

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"), …)

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.

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

Details

Currently only implemented for objects of class "symcoca".

See Also

symcoca

Examples

Run this code
# NOT RUN {
data(bryophyte)
data(vascular)

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

# }
# NOT RUN {
rescale(bryo.sym, axes = 1:2)
# }

Run the code above in your browser using DataLab