Learn R Programming

editrules (version 2.9.5)

cateditmatrix: Create an editmatrix with categorical variables

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

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

Value

cateditmatrix object, which is a specialized editmatrix

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.