Visualize the multiplication table coloring factors of k.
1 2 | draw_pattern(k, xmax, ymax, colors, show_title = FALSE,
show_numbers = FALSE, show_legend = FALSE)
|
k |
Values for which to find factors |
xmax |
Max value of x to show in the plot |
ymax |
Max value of y to show in the plot |
colors |
Colors to be assigned to factors of k. Defaults to a random palette from wesanderson package |
show_title |
Show title in the plot? |
show_numbers |
Show corresponding numbers in the cells? |
show_legend |
Show legend identifying the color mapping |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.