plot_keystrokes: Plot keystrokes on a keyboard

Description Usage Arguments Details Value Examples

View source: R/plot_keystrokes.R

Description

This function takes a character string and fills the keys on a plotted keyboard depending on the appearance of each character.

Usage

1
plot_keystrokes(string, layout = "qwerty")

Arguments

string

character, a character string to visualize on a keyboard.

layout

character, define the keyboard layout. Default is 'qwertz'.

Details

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.

Value

ggplot2 object

Examples

1
plot_keystrokes(string = "Hello! Isn't R 3.2.5 just great?", layout = "qwerty")

ottlngr/keystrokeR documentation built on May 24, 2019, 5:14 p.m.