hadley / r4ds

R for data science: a book
http://r4ds.hadley.nz
Other
4.59k stars 4.22k forks source link

Typo in chapter 25.2 Vector Functions #1638

Closed nppp closed 5 months ago

nppp commented 8 months ago

Hi, This email to report the presence of a typo in Chapter 25.2. In performing the rescaling of vector B, the minimum of A was subtracted (in the range calculation). This results in a 5x4 tibble where vector B has values greater than 1.

functions

mine-cetinkaya-rundel commented 5 months ago

Thank you!

althio commented 5 months ago

It was not a mistake. It was on purpose, It is part of the explanation.