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

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

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

Arguments

x

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

...

ignored.

Value

A matrix.