knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
STAT545B contains the functions created for STAT545B 2021W1. The main function present in this package is group_counts()
which returns the counts of specified group(s) within a tibble, sorted in decreasing order of count.
You can install the development version of STAT545B from GitHub with:
# install.packages("devtools") devtools::install_github("pattiey/STAT545B")
This is a basic example which shows you how to use the group_counts
function in the STAT545B
package:
library(STAT545B) ## basic example code group_counts(tibble::as_tibble(iris), Species)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.