library(myfirstpkg)

myfirstpkg provides simple helper functions to help me learn packaging. It re-creates very simple, pre-existing functionality to compute common summary statistics. For example, to compute the z-score of a vector we can use:

x <- 1:10
z_score(x)
#>  [1] -1.4863011 -1.1560120 -0.8257228 -0.4954337 -0.1651446  0.1651446
#>  [7]  0.4954337  0.8257228  1.1560120  1.4863011