Learn R Programming

papaja (version 0.1.0.9655)

levels<-,annotated_factor-method: Set Levels of an Annotated Factor

Description

This method is as wrapper around levels and should do the same. Annotations are preserved.

Usage

# S4 method for annotated_factor
levels(x) <- value

Arguments

x

An object of annotated_factor-class.

value

Character. The valid value for levels(x).