Description Usage Arguments Examples
Plot a keyboard using ggplot2
1 2 3 4 5 6 7 8 9 | ggkeyboard(
keyboard = tkl,
palette = keyboard_palette("pastel"),
layout = c("ansi", "iso"),
font_family = "Arial Unicode MS",
font_size = 3,
adjust_text_colour = TRUE,
measurements = keyboard_measurements("default")
)
|
keyboard |
Keyboard data. A data frame with the key name, what row of the keyboard it is in, and key width. Defaults to |
palette |
Colour palette. Defaults to |
layout |
Keyboard layout - one of "ansi" or "iso". Defaults to "ansi". |
font_family |
Font used. Defaults to "Arial Unicode MS". See the |
font_size |
Base font size. Defaults to 3. |
adjust_text_colour |
Whether to lighten the text colour on dark keys. Defaults to TRUE. |
measurements |
Measurements of various aspects of the keyboard key height and width, gaps between keys and rows, etc. See |
1 2 3 4 5 6 | ## Not run:
ggkeyboard()
ggkeyboard(sixty_percent, palette = keyboard_palette("cyberpunk"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.