Coerces a by object into a matrix (only tested on a 2d objects).

Share:

Description

Coerces a by object into a matrix (only tested on a 2d objects).

Usage

1
2
  ## S3 method for class 'by'
 as.matrix(x, ...)

Arguments

x

is a by object to convert to a matrix

...

ignored

Value

a matrix

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.