Learn R Programming

MaskJointDensity (version 1.0)

encriptNoise: encript noise

Description

to create a binary file for noise

Usage

encriptNoise(noise, a, b, maxorder, levels, EPS, noisefile)

Arguments

noise

noise used to mask data

a

lower boundary

b

upper boundary

maxorder

determine the maximum order of the moment in Provost

levels

levels for categorical variable

EPS

criterion used to stop the number of moments in provost

noisefile

a binary noise file

Value

binary code

Details

no details required

References

no reference

Examples

Run this code
# NOT RUN {
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--  or do  help(data=index)  for the standard data sets.

c2<-rnorm(100,0,1)
c2<-abs(c2)
a<-0
b<-2
maxorder<-10
lvls<-NULL
EPS<-1e-06
encriptNoise(c2,a,b,maxorder,lvls,EPS,file.path(tempdir(),"noisefile"))
# }

Run the code above in your browser using DataLab