Learn R Programming

qlcData (version 0.2.1)

.expandValues: Internal helper

Description

produce combinations of nominal variables

Usage

.expandValues(attributes, data, all)

Arguments

attributes

a list of attributes to be recoded. Vectors (as elements of the list) are possible to specify combinations of attributes to be recoded as a single complex attribute.

data

a data frame with nominal data, attributes as columns, observations as rows.

all

Logical: should all values be produced or only those with existing data?

Value

expandValues is an internal help function to show the various value-combinations when combining attributes.

Details

Just a helper.