Description Usage Arguments Examples
View source: R/visualize_keyboard.R
Adds a heatmap about how often a key was pressed on keyboard from ggkeyboard
1 2 3 4 5 6 7 8 9 10 11 12 13 |
keys |
A data.frame with data tracked by |
ggkeyboard |
An input keyboard from |
palette |
Colour palette. Defaults to |
layout |
Keyboard layout - one of "ansi" or "iso". Defaults to "ansi". |
font_family |
Font used. Defaults to "Palatino". 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 |
colour |
Highlight outline colour. |
size |
Highlight outline signs. |
... |
Additional options, passed to |
1 | visualize_keyboard(key_df, ggkeyboard = ggkeyboard::mac)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.