Aliases: [.factor [<-.factor [[.factor [[<-.factor
Keywords: category
### ** Examples ## following example(factor) (ff <- factor(substring("statistics", 1:10, 1:10), levels = letters))
[1] s t a t i s t i c s Levels: a b c d e f g h i j k l m n o p q r s t u v w x y z
ff[, drop = TRUE]
[1] s t a t i s t i c s Levels: a c i s t
factor(letters[7:10])[2:3, drop = TRUE]
[1] h i Levels: h i