-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME.Rmd
More file actions
78 lines (55 loc) · 2.12 KB
/
Copy pathREADME.Rmd
File metadata and controls
78 lines (55 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
[](https://cran.r-project.org/package=rusk)
[](https://cran.r-project.org/package=rusk)
[](https://travis-ci.org/ThinkR-open/rusk)
[](https://ci.appveyor.com/project/ThinkR-open/rusk)
[](https://codecov.io/github/ThinkR-open/rusk?branch=master)
# rusk
The goal of rusk is to show a nice representation of multiplication table
Explanations :
[](http://www.youtube.com/embed/qhbuKbxJsk8?rel=0)[](http://www.youtube.com/embed/-X49VQgi86E?rel=0)
```{r, out.width = "400px",echo = FALSE}
knitr::include_graphics("inst/preview_100.gif")
```
```{r, out.width = "400px",echo = FALSE}
knitr::include_graphics("inst/preview_t9.gif")
```
```{r, out.width = "400px",echo = FALSE}
knitr::include_graphics("inst/preview_t21.gif")
```
## Installation
You can install rusk from CRAN with:
```{r cran-installation, eval = FALSE}
install.packages("rusk")
```
You can install rusk from github with:
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("ThinkR-open/rusk")
```
## Example
### Using `draw` function
```{r example, message=FALSE, warning=FALSE}
library(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)
```
### Using the shiny app
```{r eval=FALSE}
rusk::draw_app()
```
# TODO
allow decimal table