Description Usage Arguments Examples
List Table to Matrix Table.
1
ctab(x)
x
list table to matrix table
1 2 3
vec <- c("A", "A", "B", "C") cv <- sapply(unique(vec), function(x) length(vec[vec==x])) ctab(cv)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.