powered by
tabulate
tabulateRows(observed)
orderCompletely
df <- as.data.frame(matrix(c(sample.int(2, 30, replace=TRUE)), 10, 3)) df <- df[orderCompletely(df),] tabulateRows(df)
Run the code above in your browser using DataLab