powered by
Convert data to be factor and set reference.
to.refer(x) <- value
the data that you want to set
refering level
refered factor value
# NOT RUN { to.refer(mtcars$vs) = 1 # }
Run the code above in your browser using DataLab