BSkyMakeMultiColumnFactor: Make factor variable

View source: R/column_properties.r

BSkyMakeMultiColumnFactorR Documentation

Make factor variable

Description

The function factor is used to encode a vector as a factor (the terms ‘category’ and ‘enumerated type’ are also used for factors). If argument ordered is TRUE, the factor levels are assumed to be ordered. For compatibility with S there is also a function ordered. is.factor, is.ordered, as.factor and as.ordered are the membership and coercion functions for these classes.

Usage

BSkyMakeMultiColumnFactor(colNames, dataSetNameOrIndex)

Arguments

colNames

Variables to be converted to factor

dataSetNameOrIndex

the dataset name that contains the columns those will be converted to factor


BlueSkyStatistics/BlueSky documentation built on April 14, 2025, 7:39 a.m.