We will use the
devtools package to facilitate package development.
Devtools and my package can be installed with the following commands, and both could be loaded with
There are four functions in the package, we designed
Top20GdpPercap functions to deal with the gapminder dataset,
Quantiles return the difference of a numeric variable, and
Top20GdpPercap return the top 20 GdpPercap countries in a particular year. I also inplemented two functions
freq_out Jenny shared with us in the classes as a practice.
a <- factor(c("character", "hits", "your", "eyeballs")) b <- factor(c("but", "integer", "where it", "counts")) fbind(a, b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.