sample_weighted_category: Selects, using weighted sampling, a category from the table.

Description Usage Arguments Value Examples

Description

Selects, using weighted sampling, a category from the table.

Usage

1

Arguments

table

A prop.table.

Value

A vector of unit size containing the selected randomly weighted category.

Examples

1
2
3

gabiborges1/kfact documentation built on May 12, 2019, 3:12 p.m.