Learn R Programming

editrules (version 2.9.5)

fcf.env: Field code forest algorithm

Description

Workhorse function for generateEdits

Usage

fcf.env(E, totreat, env)

Arguments

E

an editarray

totreat

variable names still to be eliminated from E

env

an environment where all editmatrices will be stored

See Also

generateEdits, editarray

Examples

Run this code


E <- editarray(expression(
    a %in% letters[1:4],
    b %in% letters[5:8],
    if ( a %in% c('a','b') ) b %in% c('e','f'),
    if ( a %in% c('c','d') ) b %in% c('h')
))

generateEdits(E)

## Not run
# load 60 edits (36 variables) from demonstration file
E <- editfile(system.file('script/bench/edits.R',package='editrules'),type='cat')
F <- generateEdits(E)

summary(F$edits)
F$nodes
F$dudation

## End(Not run)

Run the code above in your browser using DataLab