tidy_triplet: Utility function to tidy a simple triplet matrix

Description Usage Arguments

View source: R/sparse_tidiers.R

Description

Utility function to tidy a simple triplet matrix

Usage

1
tidy_triplet(x, triplets, row_names = NULL, col_names = NULL)

Arguments

x

Object with rownames and colnames

triplets

A data frame or list of i, j, x

row_names

rownames, if not gotten from rownames(x)

col_names

colnames, if not gotten from colnames(x)


tidytext documentation built on Nov. 18, 2017, 9:03 a.m.