scramble: Scramble Function

Description Usage Arguments Details Value Examples

View source: R/scramble.R

Description

Function to change a selected number of characters for elements in a list

Usage

1
scramble(col, chars)

Arguments

col

Data frame column or list to change

chars

Number of characters to change

Details

Function will change the inputed number of characters from a list or column

Value

New list with some of the characters of random elements changed

Examples

1
2
3
4
## Not run: 
congress$name <- scramble(congress$name, 2)
 
## End(Not run)

hkarp1/fuz.merge documentation built on Sept. 2, 2020, 12:05 a.m.