mask: masking data

Description Usage Arguments Details Value Note Author(s) References Examples

Description

mask the original data by noise

Usage

1
mask(y, noisefile, noise = createNoise(length(y)), a1 = min(y), b1 = max(y), maxorder = 100, EPS = 1e-06)

Arguments

y

the original data

noisefile

a file containing the information of noise

noise

the noise used to mask data

a1

the a_basic mentioned in paper

b1

the b_basic mentioned in paper

maxorder

the maximum order of moments used in the density approximant

EPS

the criterion used in order selection

Details

no details needed

Value

ystar

masked data

noisefile

a file containing the information of noise

Note

no further notes

Author(s)

Mark and Yan-Xia

References

no reference

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

y<-rnorm(100,0,1)
ymask<-mask(y, noisefile="noise.bin", noise=createNoise(length(y)), a1=min(y), 
     b1=max(y), maxorder=100, EPS=1e-06)
write(ymask$ystar, "ystar.dat")

ElsevierSoftwareX/SOFTX-D-15-00040 documentation built on May 6, 2019, 3:25 p.m.