corr_string: corr_string

Description Usage Arguments Value Author(s)

View source: R/corrupt_data.R

Description

A general string corruption function. Either adds, deletes, or substitutes single characters in the string. The number of insertions, deletions, and replacements is generated from the normal, scaled by scale.

Usage

1
corr_string(val, scale = 2)

Arguments

val

The value to be corrupted. Should be string

scale

The scale applied to the error.

Value

The value + the generated error.

Author(s)

Sam Murray<slmurray@andrew.cmu.edu>


Sam-Murray/RecordLinkUtil documentation built on Oct. 30, 2019, 11:48 p.m.