Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exploring Data Frames: Factor #520

GitGeneral1 opened this issue Jun 8, 2019 · 1 comment


None yet
2 participants
Copy link

commented Jun 8, 2019

This submission is related to the “Exploring Data Frames” episode. An objective of the episode is to understand what a factor is.

Although the order of the factor has no specific meaning in the given example, the order of factor is often meaningful. For example, the levels “low,” “medium,” and “high” in describing the purchasing power of a household. It could also be helpful to point out that R sorts the levels of a factor alphabetically by default (e.g. “high”, “low,” “medium”), which may not align with the ordering of the factor’s underlying value or meaning.


This comment has been minimized.

Copy link

commented Jun 10, 2019

Good point, @GitGeneral1 . This might be good material for an optional challenge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.