tibble_to_matrix: Convert columns from a tibble into a matrix.

Description Usage Arguments

View source: R/convert_tibbles.R

Description

Convert subsections of tibbles into matrices, with the option of adding row names from another column or a character vector

Usage

1
tibble_to_matrix(tbl, ..., row_names = NULL)

Arguments

tbl

Tibble to covert.

...

Tidy selection of columns to include in matrix.

row_names

String of column name to pull row names from or a character vector of row names.


allydunham/tblhelpr documentation built on Nov. 20, 2019, 7:35 a.m.