conversions: Conversion of projections objects

as.matrix.projectionsR Documentation

Conversion of projections objects

Description

These functions convert projections objects into other classes.

Usage

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

## S3 method for class '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(s)

Thibaut Jombart thibautjombart@gmail.com

See Also

the project function to generate the 'projections' objects.


projections documentation built on March 31, 2023, 7:18 p.m.