matloff / fasteR

Fast Lane to Learning R!
987 stars 159 forks source link

Minor typos in Lesson 4 #13

Open khangquangtran opened 2 years ago

khangquangtran commented 2 years ago

Typo 1, near the Recap section of Lesson 4:

Note that n81100 now is a 21-element vector. Its first element is now element 81 of Nile: > n81100[1] [1] 744 > Nile[81] [1] 744

After checking with length(Nile[81:100]) and length(n81100) (both equal to 20), I think "n81100 now is a 21-element vector" has a typo. Shouldn't it be: n81100 now is a 20-element vector?

Typo 2, below the Recap section of Lesson 4:

Not bad for Lesson 1! And needless to say, you'll be using all of these frequently in the subsequent lessons and in your own usage of R.

It is the end of Lesson 4 at this point and 2 lessons are mentioned in the Recap, so "Not bad for Lesson 1!" does not seem fit here.

matloff commented 2 years ago

Thanks very much! Will take a look, and fix.

Norm

On Mon, Aug 29, 2022 at 10:40:15PM -0700, Khang Tran wrote:

Typo 1 , near the Recap section of Lesson 4:

 Note that n81100 now is a 21-element vector. Its first element is
 now element 81 of Nile:
 > n81100[1]
 [1] 744
 > Nile[81]
 [1] 744

After checking with length(Nile[81:100]) and length(n81100) (both equal to 20), I think "n81100 now is a 21-element vector" has a typo. Shouldn't it be: n81100 now is a 20-element vector?

Typo 2, below the Recap section of Lesson 4:

 Not bad for Lesson 1! And needless to say, you'll be using all of
 these frequently in the subsequent lessons and in your own usage of
 R.

It is the end of Lesson 4 at this point and 2 lessons are mentioned in the Recap, so "Not bad for Lesson 1!" does not seem fit here.

-- Reply to this email directly, [1]view it on GitHub, or [2]unsubscribe. You are receiving this because you are subscribed to this thread. Message ID: @.***>

References

  1. https://github.com/matloff/fasteR/issues/13
  2. https://github.com/notifications/unsubscribe-auth/ABZ34ZL7FUVVEEBM4RM2JFTV3WND7ANCNFSM6AAAAAAQABPCHE