urnsample2: Sample Space of Urn Sampling

urnsample2R Documentation

Sample Space of Urn Sampling

Description

Create Sample Space of Urn Sampling

Usage

urnsample2(x, size, replace = FALSE, ordered = FALSE,
  probspace = FALSE, ...)

Arguments

x

Vector of objects in the urn

size

Number of samples from the urn

replace

Sampling with replacement? Default: FALSE

ordered

Consider the order of samples? Default: FALSE

probspace

Create probablity space? Default: FALSE

...

Other parameters

Value

Sample space in data frame

Examples

urnsample2(letters[1:5], 3)

adoocavo/Rstat_M1 documentation built on March 19, 2022, 3:34 a.m.