ver <- function(df, var){ require(magrittr) if(c("data.frame") %in% class(df)){ table(df[,var]) %>% View() } else{ table(df) %>% View() } }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.