Standard-evaluation version of cast_sparse

Share:

Description

Standard-evaluation version of cast_sparse

Usage

1
cast_sparse_(data, row_col, column_col, value_col = 1, ...)

Arguments

data

A tbl

row_col

String version of column to use as row names

column_col

String version of column to use as column names

value_col

String version of column to use as sparse matrix values, or a numeric vector to use. Default 1 (to create a binary matrix)

...

Extra arguments to pass on to sparseMatrix