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

Update 05-data-subsetting.Rmd #86

Closed
wants to merge 1 commit into from

Conversation

wartini-ng
Copy link
Contributor

@wartini-ng wartini-ng commented Sep 16, 2020

L348 typo "drop = F0ALSE"

Based on explanation on L315; the answer on the first part of Q1 Challenge 4 should be:
It is trying to subset the first 20 columns in gapminder, but there are only 6 columns in gapminder. Hence, the code is invalid.

L348 typo "drop = F0ALSE"

Based on explanation on L315; the answer on the first part of Q1 Challenge 4 should be:
It is trying to subset the first 20 columns in `gapminder`, but there are only 6 columns in `gapminder`. Hence, the code is invalid.
@jsta
Copy link
Member

jsta commented Sep 16, 2020

Thanks for this! Good catch on the typo.

Although L315 is technically correct, I would personally advocate for always using comma notation for subsetting columns as I think it is much more clear and intuitive. My personal preference would be to change L315:L325 and keep the original text of the challenge 4 solution but I'm curious what other think.

@lachlandeer
Copy link
Contributor

Good catch on typo.

RE: Solution - would agree with @jsta here. If this is the route, lets create a separate issue for it and merge in the typo fix here?

@jsta
Copy link
Member

jsta commented Sep 23, 2020

Moved typo fix to #87

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

Successfully merging this pull request may close these issues.

None yet

3 participants