Derive textual representation from (partial) indices

Share:

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.

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