tbl2matrix: Convert a tibble to a matrix
Description
Given a tibble
or a data.frame
as input, tbl2matrix
converts it to a
matrix.
Usage
tbl2matrix(x, .rownames = NULL)
Arguments
- x
tibble to be converted.
- .rownames
name of the column (character) of x
containing the row
names of the output matrix.