tabulateRows | R Documentation |
Like tabulate
but entire rows are the unit of tabulation.
The data.frame is not sorted, but must be sorted already.
tabulateRows(observed)
observed |
a sorted data.frame holding ordered factors in every column |
orderCompletely
df <- as.data.frame(matrix(c(sample.int(2, 30, replace=TRUE)), 10, 3))
df <- df[orderCompletely(df),]
tabulateRows(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.