Learn R Programming

projections (version 0.6.0)

as.matrix.projections: Conversion of projections objects

Description

These functions convert projections objects into other classes.

Usage

# S3 method for projections
as.matrix(x, ...)

# S3 method for projections as.data.frame(x, ..., long = FALSE)

Arguments

x

An projections object, or an object to be converted as projections (see details).

...

Further arguments passed to other functions (no used).

long

A logical indicating if the output data.frame should be 'long', i.e. where a single column containing 'groups' is added in case of data computed on several groups.

Author

Thibaut Jombart thibautjombart@gmail.com

See Also

the project function to generate the 'projections' objects.