# seed PRNG
set.seed(1234)
# generate the initial sample consisting of 5 trapezoidal fuzzy numbers
sample1 <- SimulateSample(5,originalPD="rnorm",parOriginalPD=list(mean=0,sd=1),
incrCorePD="rexp", parIncrCorePD=list(rate=2),
suppLeftPD="runif",parSuppLeftPD=list(min=0,max=0.6),
suppRightPD="runif", parSuppRightPD=list(min=0,max=0.6),
type="trapezoidal")
# apply the antithetic bootstrap with 10 cuts
AntitheticBootstrap (sample1$value, cutsNumber=10)
Run the code above in your browser using DataLab