Field code forest algorithm

Share:

Description

Workhorse function for generateEdits

Usage

1
fcf.env(E, totreat, env)

Arguments

E

an editarray

env

an environment where all editmatrices will be stored

vars

variable names still to be eliminated from E

See Also

generateEdits, editarray

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.