Last chance! 50% off unlimited learning
Sale ends in
new("BinomParameter", prob, size)
.
Usually an object of this class is not needed on its own, it is generated automatically when an object of the class Binom
is instantiated."Parameter"
, directly.Binom-class
Parameter-class
W=new("BinomParameter",prob=0.5,size=1)
size(W) # size of this distribution is 1.
size(W)=2 # size of this distribution is now 2.
Run the code above in your browser using DataLab