fill_bucket: helper to fill buckets dataframe

Description Usage Arguments Examples

View source: R/helpers.R

Description

helper to fill buckets dataframe

Usage

1
fill_bucket(model, buckets, vars, row = 1, column = 4)

Arguments

buckets

dataframe with columns event, count and capacity vars plus strategy allocation var

vars

vars to be observed

Examples

1
2
3
4
model <- make_model("X->M->Y")
buckets = data.frame(event = "X0Y0", count = 3, capacity = 3, strategy = 2)
# Find different data that might result from looking at "M" in 2 out of 3 X0Y0 data types
fill_bucket(model, buckets, vars = "M")

lilymedina/gbiqqtools documentation built on Nov. 4, 2019, 4:32 p.m.