Learn R Programming

fastStat (version 1.4)

to.refer<-: Set Refer for Factor

Description

Convert data to be factor and set reference.

Usage

to.refer(x) <- value

Arguments

x

the data that you want to set

value

refering level

Value

refered factor value

Examples

Run this code
# NOT RUN {
to.refer(mtcars$vs) = 1
# }

Run the code above in your browser using DataLab