ind2char: Derive textual representation from (partial) indices

Description Usage Arguments Value

View source: R/editarray.R

Description

Derive textual representation from (partial) indices

Usage

1
ind2char(ivd, ind = ivd, invert = logical(length(ivd)), useEqual = TRUE)

Arguments

ind

a list, usually a (part of) the 'ind' attribute of an editarray

invert

logical vector of lenght length(ind)

Value

For every entry in ind, a character vector is returned where each entry is a statement of the form "<var> %in% c('<cat1>',...,'<catN>')" or "<var> == '<catt>'" if invert==TRUE. If invert==FALSE, the negation of the above statements is returned.


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