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.

Installation

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")

Example

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


stat545ubc-2021/functions-Yixuan-L documentation built on Dec. 23, 2021, 5:25 a.m.