Understanding Factors in R: Beginning R Programming – Part 8

When working with categorical data or categories, it is useful to treat these as factor levels. Learn how to cast character strings or numbers as factors so that they are treated as categories.

Prerequisites:
Data Set
How to Install R

Part 9: 
Calling Pre-built Functions in R

Part 7: 
Working with Vectors in R

Full Series:
Beginning R Programming

More Data Science Material:
[Video] A/B Testing in Minutes
[Blog] R Algorithms in AI And Computing Forces Working Together

(28)

Rebecca Merrett
About The Author
- Rebecca holds a bachelor’s degree of information and media from the University of Technology Sydney and a post graduate diploma in mathematics and statistics from the University of Southern Queensland. She has a background in technical writing for games dev and has written for tech publications.

Avatar

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>