Learn R Programming

covfefe (version 1.0.0)

adjacent_key_typo: Generate adjacent-key typo

Description

Replaces one or more characters with adjacent keys.

Usage

adjacent_key_typo(word, n_typos = 1L)

Value

Character. Word with typos

Arguments

word

Character. Word to typo-fy

n_typos

Integer. Number of typos to introduce (default 1)

Examples

Run this code
set.seed(123)
adjacent_key_typo("hello")

Run the code above in your browser using DataLab