Some useful methods in R that helps while working with the similar type of data
multiple values are considered as categories and neglicted duplicate values
survey_vector <- c(“M”, “F”, “F”, “M”, “M”)factor_survey_vector <- factor(survey_vector)
placing label for the categories
similar to the way there exist summary method in pandas in python here we’ve summary method
that’s all for now. Keep learning.