cateditmatrix: Create an editmatrix with categorical variables

Description Usage Arguments Value

View source: R/cateditmatrix.R

Description

cateditmatrix is an alternative representation of a categorial edit. The default representation in editrules is editarray, but cateditmatrix is useful for transforming and solving categorical edit into a mixed integer programming problem

Usage

1
cateditmatrix(x, sep = ":", env = parent.frame())

Arguments

x

character or expression with categorical edits

sep

seperator to be used in naming categories within variables.

env

environment in which x will be evaluated.

Value

cateditmatrix object, which is a specialized editmatrix


editrules documentation built on May 30, 2017, 5:30 a.m.