draw {rusk} | R Documentation |
Beautiful graphical representation of multiplication tables
Description
By placing on a circle 10 points numbered from 1 to 10, and connecting them by a straight line to the point corresponding to its multiplication by 2. (1 must be connected to 1 * 2 = 2, point 2 must be set to 2 * 2 = 4, point 3 to 3 * 2 = 6 and so on). You will obtain an amazing geometric figure that complicates and beautifies itself by varying the number of points and the multiplication table you use.
Usage
draw(table = 2, modulo = 10, label = FALSE)
Arguments
table |
muliplication table to plot |
modulo |
number of points to use |
label |
show number label |
Value
a ggplot
Examples
draw(table=2,modulo = 10, label=TRUE)
draw(table=2,modulo = 50, label=FALSE)
draw(table=2,modulo = 250)
draw(table=10,modulo = 250)
[Package rusk version 0.1.1 Index]