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

Understanding Factors- Clarifiation #462

Open
hw85241 opened this issue Dec 11, 2019 · 2 comments
Open

Understanding Factors- Clarifiation #462

hw85241 opened this issue Dec 11, 2019 · 2 comments

Comments

@hw85241
Copy link

@hw85241 hw85241 commented Dec 11, 2019

This suggestion is for the Understanding Factors episode. For people who have a statistics background taking this lesson, they probably know that factors can be categorical or continuous. In R, though, factors are considered strictly categorical and what would be continuous is considered a variable. I think it would be good to point these facts out a little more specifically by adding a line in the introduction that says something like "R handles continuous data with variables instead of factors, but we will not be focusing on this in this episode." As someone with a descent statistics background, I was personally confused when I was first learning R because factors are only considered factors in the R context if they are categorical, even though continuous factors exist outside of R.

@HaoZeke
Copy link
Member

@HaoZeke HaoZeke commented Dec 15, 2019

Thanks for the detailed issue description. This sounds like a great addition, would you be willing to open a pull request for this? It would make for a great first contribution. If you need help I'd be happy to assist.

@EastBayEv
Copy link

@EastBayEv EastBayEv commented Feb 12, 2020

In a similar vein, could "binning" also be a handy way to turn ranges of continuous variables into factors? The cut function is very helpful here. See ?cut to learn more.

I am happy to provide an example if helpful.

fmichonneau pushed a commit that referenced this issue Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants