1. Download the package using the devtools function install_github("jian13579/mapstu")

  2. library(mapstu)

  3. In order to use any of the functions the dataset must be intiated by using the function totaldata(). To do so create a name for the dataset. All the examples in the package use yearsdata <- totaldata().

  4. All functions in the package will take some year vector of the dataset, and take can be called like any normal dataframe with the "$" symbol.

jian13579/mapstu documentation built on May 17, 2017, 8:25 p.m.