Skip to content

Minor typos and other in Lesson 5 #14

@khangquangtran

Description

@khangquangtran

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions