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

# 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.