R

An Introduction to forcats

Defining Factors

The forcats package is part of the tidyverse and is useful for dealing with factors. Factors are simply categorical variables, useful for controlling the levels and order of a vector.

7 min read
Back to Top ↑

visualization

Back to Top ↑

example

Back to Top ↑

Post Formats

Back to Top ↑

model

Back to Top ↑

tidy

An Introduction to forcats

Defining Factors

The forcats package is part of the tidyverse and is useful for dealing with factors. Factors are simply categorical variables, useful for controlling the levels and order of a vector.

7 min read
Back to Top ↑