Learn R Programming

fisheyeR (version 0.9)

addNoise: Add noise to a matrix

Description

Add noise to duplicated rows in a matrix.

Usage

addNoise(m, tamanyo = 0.01)

Arguments

m
Matrix to add noise to.
tamanyo
Size of noise added.

Value

Original matrix with no duplicates.

Details

addNoise goal is to avoid any row duplicate in a matrix by adding a small (normal) noise to it.

See Also

fishIin, fishIout, POIPlot-methods

Examples

Run this code
   addNoise(matrix(rep(1,100), ncol = 2))

Run the code above in your browser using DataLab