myfirstpkg provides simple helper functions to help me learn packaging. It re-creates very simple, pre-existing functionality to compute common summary statistics.

Installation

myfirstpkg is currently in development so you must install it from Github:

if (!requireNamespace("remotes")) {
  install.packages("remotes")
}
remotes::install_github("bradleyboehmke/myfirstpkg")

Basic Usage

Basic usage of myfirstpkg looks like:

library(myfirstpkg)

x <- 1:3

my_mean(x)
## [1] 2

my_sd(x)
## [1] 1

z_score(x)
## [1] -1  0  1

Bugs & Enhancements

Your feedback allows us to make better tools. Please report any problems, bugs, or ideas for enhancement. You can report issues at https://github.com/bradleyboehmke/myfirstpkg/issues.