draw_pattern: Plotting colored multiplication table

Description Usage Arguments

Description

Visualize the multiplication table coloring factors of k.

Usage

1
2
draw_pattern(k, xmax, ymax, colors, show_title = FALSE,
  show_numbers = FALSE, show_legend = FALSE)

Arguments

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


solmos/multable documentation built on May 3, 2019, 5:45 p.m.