as.matrix.partition: 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))

partitions documentation built on July 21, 2022, 9:05 a.m.