Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

reorder factors in r

data$x <- factor(data$x, 
                 levels = c("a", "b", "c"))
 
PREVIOUS NEXT
Tagged: #reorder #factors
ADD COMMENT
Topic
Name
1+7 =