Description Usage Arguments Examples
View source: R/unpivot.R
unpivot data matrix
1
unpivot(m)
m
matrix or dataframe
1 2 3 4 5
x = matrix(1:25,ncol=5) x = as.data.frame(x) colnames(x) = letters[1:5] rownames(x) = LETTERS[1:5] unpivot(x)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.