This Package is built for Homework8 of STAT547 course to explore the process of building an R package using devtools()
. The primary skeleton of this package is from Write your own R Package hands on activity, and the aim as it's mentioned in Homework8 description is to add more functionality and testing to foofactors()
initial package.
There work flow of the building a package is well described in Jenny's Write your own R package, also I have put my understandings and work flow in a readme.rmd
for homework8
Here.
foofactors
packagedevtools
install.packages("devtools")
library(devtools)
devtools::install_github("gjahesh/foofactors")
devtools::library(foofactors)
R
foldertest
foldervignette
folder?function name
example:?fgap_coefs
fooctors
fbind()
example
fbind(iris$Species[c(1, 51, 101)], PlantGrowth$group[c(1, 11, 21)])
freq_out()
example
freq_out(iris$Species)
fgap_coefs()
examplefgap_rw(gapminder::gapminder)
fgap_rw()
examplefgap_rw(gapminder::gapminder)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.