powered by
oin
A function that generates random oins (see as.pin). The generated oin is uniformely distributed over all possible oins.
as.pin
roin(n)
a vector of generated oins.
number of observations. If length(n) > 1, the length is taken to be the number required.
length(n) > 1
x <- roin(3) oin_ctrl(x) oin_group(x)
Run the code above in your browser using DataLab