roin: Generate a vector of random oin

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)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.