Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

r convert to factor

# Convert character column to factor
data$x <- as.factor(data$x)
Source by statisticsglobe.com #
 
PREVIOUS NEXT
Tagged: #convert #factor
ADD COMMENT
Topic
Name
3+9 =