knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(commoncalcs)

Routine data analysis may involve a series of common calculations (commoncalcs, geddit?) that (to my knowledge), lack existing R packages written with them in mind. These include calculating percentage growth over differing periods of time, or calculating weighted means.

commoncalcs aims to resolve these problems. It provides functions that can streamline code required to run such calculations, assuming you can provide some data in the right format and specify some key variables.

Installation

You can install the package using RStudio's tool, or via the following code, using the listed file location.

devtools::install_github("shanej90/commoncalcs")

Usage

commoncalcs currently provides three routine functions:



shanej90/commoncalcs documentation built on Oct. 21, 2020, 8:43 a.m.