corr_numeric: corr_numeric

Description Usage Arguments Value Author(s)

View source: R/corrupt_data.R

Description

A general numeric corruption function. Adds a value from the normal distribution (scaled by scale) to the value.

Usage

1
corr_numeric(val, scale = 1)

Arguments

val

The value to be corrupted. Should be numeric.

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.