addNoise: Add noise to a matrix

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/Fisheyer_Functions.r

Description

Add noise to duplicated rows in a matrix.

Usage

1
addNoise(m, tamanyo = 0.01)

Arguments

m

Matrix to add noise to.

tamanyo

Size of noise added.

Details

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

Value

Original matrix with no duplicates.

Author(s)

Eduardo San Miguel Martin

See Also

fishIin, fishIout, POIPlot-methods

Examples

1
   addNoise(matrix(rep(1,100), ncol = 2))

fisheyeR documentation built on May 2, 2019, 12:47 a.m.