matrix2df | R Documentation |
Make data.frame with matrix
matrix2df(matrix = c(1, 1, 1, 0, 0, 1), labels = NULL)
matrix |
a numeric vector |
labels |
Optional list of labels |
labels=list(X="indep",M=c("med1","med2"),Y="dep") matrix2df(c(1,1,1,0,0,1),labels=labels)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.