BlockByVariable: Block by variable

Description Usage Arguments Value Examples

View source: R/blocking.R

Description

Block a dataset by the factor levels of one variable

Usage

1
BlockByVariable(records, var.name)

Arguments

records

Data Frame containing records to be linked

var.name

String of variable you want to block by

Value

A vector of integers coresponding to the block assignment

Examples

1
BlockByVariable(iris, "Species")

kaylafrisoli/ActiveRL documentation built on May 20, 2019, 7:53 a.m.