Last data update: 2014.03.03

R: Coerce partitions to matrices and vice versa
as.matrix.partitionR Documentation

Coerce partitions to matrices and vice versa

Description

Coercion to and from partitions

Usage

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

Arguments

x

Object to be coerced

...

Further arguments

Author(s)

Robin K. S. Hankin

Examples

as.matrix(parts(5))

Results