as_matrix: Convert to bare matrices

as.matrix.ipmr_matrixR Documentation

Convert to bare matrices

Description

Converts objects to c("matrix", "array").

Usage

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

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

Arguments

x

An object of class ipmr_matrix, or the output from make_ipm.

...

ignored.

Value

A matrix.


levisc8/ipmr documentation built on Feb. 22, 2023, 9:15 p.m.