roin: Generate a vector of random 'oin'

Description Usage Arguments Value Examples

View source: R/rin.R

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)

sweidnumbr documentation built on March 31, 2020, 5:24 p.m.