Learn R Programming

rrepast (version 0.8.0)

GetFactorLevels: GetFactorLevels

Description

Returns the fator's levels

Usage

GetFactorLevels(factors, name)

Arguments

factors

The current factor collection

name

The factor name

Value

Levels

Examples

Run this code
# NOT RUN {
   f<- AddFactor0(name="Age",levels=c(25,30,40,65))
   f<- AddFactor0(factors=f, name="Weight",levels=c(60,70,80,90))
   
   GetFactorLevels(factors=f, "Age")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab