knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
The goal of rusk is to show a nice representation of multiplication table
Explanations :
knitr::include_graphics("inst/preview_100.gif")
knitr::include_graphics("inst/preview_t9.gif")
knitr::include_graphics("inst/preview_t21.gif")
You can install rusk from CRAN with:
install.packages("rusk")
You can install rusk from github with:
# install.packages("devtools") devtools::install_github("ThinkR-open/rusk")
draw
functionlibrary(rusk) draw(table = 2, modulo = 10,label = TRUE) draw(table = 2, modulo = 100) draw(table = 2, modulo = 500) draw(table = 7, modulo = 250) draw(table = 21, modulo = 500)
rusk::draw_app()
allow decimal table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.