Description Usage Arguments Details Value Examples
View source: R/plot_keystrokes.R
This function takes a character string and fills the keys on a plotted keyboard depending on the appearance of each character.
1 | plot_keystrokes(string, layout = "qwerty")
|
string |
character, a character string to visualize on a keyboard. |
layout |
character, define the keyboard layout. Default is 'qwertz'. |
The provided character string will be split into single upper-case characters and each character then gets matched to a given keyboard layout dataset. Besides the respective character or letter the keyboard layout dataset also includes the positions of each key on the keyboard. According to the number of the appearance of each character the single keys on the keyboard get filled.
ggplot2 object
1 | plot_keystrokes(string = "Hello! Isn't R 3.2.5 just great?", layout = "qwerty")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.