Learn R Programming

covfefe (version 1.0.0)

keyboard_mash: Simulate keyboard mash (extra characters)

Description

Adds random adjacent characters to simulate accidental key presses.

Usage

keyboard_mash(word, n_extra = 3L)

Value

Character. Word with extra characters

Arguments

word

Character. Base word

n_extra

Integer. Number of extra characters to add

Examples

Run this code
set.seed(456)
keyboard_mash("powerful")  # Might produce "powerfulnnz"

Run the code above in your browser using DataLab