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

Minor typos and other in Lesson 5 #14

Open
khangquangtran opened this issue Aug 30, 2022 · 1 comment
Open

Minor typos and other in Lesson 5 #14

khangquangtran opened this issue Aug 30, 2022 · 1 comment

Comments

@khangquangtran
Copy link

khangquangtran commented Aug 30, 2022

Typo 1, near the beginning of Lesson 5:

Note that that row would also be cnsidered a vector. The third column as a whole would be the vector of all ages in our dataset.

"cnsidered" should be replaced by "considered".

Typo 2, before the first Your Turn:

The element in row 3, column 1 in the data frame tg is element 3 in the vector tg$letn. This duality between data frames and vectors is often exploited in R.

Shouldn't it be "the vector tg$len"?

Other: The formatting of the following is a bit strange:

> ?ToothGrowth
``` (The data turn out to be on guinea pigs, with orange juice or
Vitamin C as growth supplements.) Let's take a quick look from the
command line.

``` r
> head(ToothGrowth)
len supp dose
1 4.2 VC 0.5
2 11.5 VC 0.5
3 7.3 VC 0.5
4 5.8 VC 0.5
5 6.4 VC 0.5
6 10.0 VC 0.5

@matloff
Copy link
Owner

matloff commented Sep 6, 2022 via email

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

2 participants