# NOT RUN {
## ------------------------------------------------
## Method `HuberizedDistribution$new`
## ------------------------------------------------
HuberizedDistribution$new(
Binomial$new(prob = 0.5, size = 10),
lower = 2, upper = 4
)
# alternate constructor
huberize(Binomial$new(), lower = 2, upper = 4)
# }
Run the code above in your browser using DataLab