CreateFactor {bigReg}R Documentation

creates factor from numeric vector and character vector as levels

Description

The CreateFactor function creates a factor from a numeric vector and a character vector for levels

Usage

CreateFactor(x, levels)

Arguments

x

numeric vector containing the numeric indices of the levels

levels

character vector levels


[Package bigReg version 0.1.5 Index]