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))

RobinHankin/partitions documentation built on April 9, 2022, 12:43 p.m.