knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The RToyPackage is simply a collection of functions which make things fun and easier.
You can install the released version of RToyPackage from CRAN with:
install.packages("RToyPackage")
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("fortune9/RToyPackage")
This is a basic example which shows you how to solve a common problem:
library(RToyPackage) fun_plot() # or set a wide range for x fun_plot(-10,10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.