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 May 30, 2017, 8:16 a.m.

Search within the sweidnumbr package
Search all R packages, documentation and source code