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, refer)

Arguments

x

the data that you want to set

refer

refering level

Value

refered factor refer

Examples

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

Run the code above in your browser using DataLab