inst/examples/ex-reshape.R

## Create a matrix
A <- matrix(data = sample(0:10, 100, TRUE), nrow = 20, ncol = 5)

## Transform to long data.frame
head(wide_to_long(A))
tesselle/arkhe documentation built on Feb. 22, 2024, 8:18 p.m.