binary.levels.combine: Combine levels specified in seperate binary level variables...

binary.levels.combineR Documentation

Combine levels specified in seperate binary level variables into one variable.

Description

Combine levels specified in seperate binary level variables into one variable.

Usage

binary.levels.combine(..., levelvalues = NULL)

Arguments

...

a series of binary (0,1) vectors, specified as multiple arguments or as a list

levelvalues

a vector indicating the level values to use. The first value of this vector is the value used for the first binary vector argument, the second for the second binary vector argument etc. If unspecified, the defaults to (1,2,...n) where n is the number of binary vectors specified by ...

Value

a single vector


kcha193/simarioV2 documentation built on April 8, 2024, 4:51 p.m.