knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of this package is to summarize statistics including mean, minimum, maximum, standard deviation, median of a numeric column which is grouped by a category in a dataset.
You can install the released version of the package for function summarize_stat
from CRAN with:
devtools::install_github("https://github.com/stat545ubc-2021/functions-Yixuan-L.git", ref = "0.1.0")
This is a basic example which shows you how to solve a common problem:
suppressPackageStartupMessages(library(newpkg)) summarize_stat(datateachr::apt_buildings, property_type, no_of_storeys)
You can preview the help file of function summarize_stat
by:
?summarize_stat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.