390-2020-09-Fall / foofactors

Minimally viable R package based on the "R Packages" book Chapter 2: The whole game
https://r-pkgs.org/whole-game.html
Other
1 stars 0 forks source link

NOTE: This is a toy package created for expository purposes, for the second edition of R Packages. It is not meant to actually be useful. If you want a package for factor handling, please see forcats.

foofactors

This package provides some helper functions for addinh up two numbers.

Installation

You can install foofactors like so:

devtools::install_github("390-2020-09-Fall/foofactors")

Quick demo

Binding two factors via fbind():

library(foofactors)

The fAdd() function sums up the two numbers together.

fAdd(3.5, 4)
#> [1] 7.5
fAdd(10000000, 20000000)
#> [1] 3e+07