hadley / r4ds

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

Typo in chapter 25.2 Vector Functions #1638

Closed nppp closed 3 months ago

nppp commented 5 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 3 months ago

Thank you!

althio commented 3 months ago

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