corr_replace: corr_replace

Description Usage Arguments Value Author(s)

View source: R/corrupt_data.R

Description

A general replacement corruption function. Takes a value and a pool of values, and returns a random element from the pool.

Usage

1
corr_replace(val, pool = NULL)

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.