#' Make a frequency table for a factor
#'
#' @param x factor
#'
#' @return tbl_df
#' @export
#' @examples
#' freq_out(iris$Species)
freq_out <- function(x) {
xdf <- dplyr::data_frame(x)
dplyr::count(xdf, x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.