Generate a vector of random oin

Share:

Description

A function that generates random oins (see as.pin). The generated oin is uniformely distributed over all possible oins.

Usage

1
roin(n)

Arguments

n

number of observations. If length(n) > 1, the length is taken to be the number required.

Value

a vector of generated oins.

Examples

1
2
3
x <- roin(3)
oin_ctrl(x)
oin_group(x)