Commit Graph

1255 Commits

Author SHA1 Message Date
Johannes Gruber 089e060a06
Added missing word in datetimes.Rmd (#848) 2020-10-03 09:40:07 -05:00
Nischal Shrestha 1aeec599b9
Use after_stat instead of the old dotted syntax. (#851)
The `..` syntax in 3.7 Exercises to refer to computed variable `prop` should be updated to use the best practice of `after_stat` instead. Reduces confusion and more aligns with the documentation.
2020-10-03 09:38:39 -05:00
Christian Heinrich 0d08b14b2f
model-many.Rmd: Swap words (#856)
Grammar fix
2020-10-03 09:38:10 -05:00
Christian Heinrich f34678da55
Models-many.Rmd: Spelling/grammar (#858) 2020-10-03 09:37:42 -05:00
juandering f6aeebab5f
Update visualize.Rmd (#863)
Solid shapes are 15-20, not 15-18.
2020-10-03 09:36:08 -05:00
George Wang ce1aa5fbff
Update tidy.Rmd (#865)
Line 506: 
When fixing the string format in the `key` column using the `str_replace` function, I think the column name was mistakenly stated as "names_from", where it should actually be "key", which is the original column name.
2020-10-03 09:35:40 -05:00
Yu Yu Aung 9d1b294daf
Update visualize.Rmd (#866)
Update a broken link.
2020-10-03 09:35:15 -05:00
nattalides 84f0ba1ba7
one_of() is retired (#867)
Further to {tidyselect} documentation "one_of() is retired in favour of the more precise any_of() and all_of() selectors." this exercise (5.4.1) should be updated to be in-line with current functionality.
2020-10-03 09:35:04 -05:00
Riva Quiroga 2330e438c3
top_n to slice_max (#870) 2020-10-03 09:34:50 -05:00
Hadley Wickham 84a5259949 No longer need npm 2020-10-03 09:32:24 -05:00
Hadley Wickham 39b53471c5 Use netlify action 2020-10-03 08:51:47 -05:00
Hadley Wickham caaf6cdac5 WS 2020-10-03 08:35:34 -05:00
Hadley Wickham 2e2f302fa8 Avoid .gitignore 2020-10-03 08:26:36 -05:00
Hadley Wickham aa45f8f890 Switch to GitHub actions 2020-10-03 08:22:25 -05:00
Garrett Grolemund 2df59fd8ae
Fixes a quite bad link (#849) 2020-05-08 15:58:10 -05:00
Zhuoer Dong 9dda73b31f typo in 16.4.5 Exercises 5 (#732) 2020-01-15 12:42:24 -06:00
Jeffrey Arnold 5f85b4c592 Remove use of mu in exercises (#748)
Two exercises use $\mu$ to mean the mean parameter of a normal distribution. However, nowhere in the book is it defined as such. For clarity replace $\mu$ with "mean".
2020-01-15 12:41:35 -06:00
Jeffrey Arnold 5082dd8bfd Add equations to 19.2 Ex 4. (#749)
The question asks:

> Follow <http://nicercode.github.io/intro/writing-functions.html> to write your own functions to compute the variance and skew of a numeric vector.

However, the math on that page no longer renders.

Directly include the skew and variance equations in the question.
2020-01-15 12:41:22 -06:00
Jeffrey Arnold 6194b380c4 Rename "Practice" sections to "Exercises" (#750)
Some sections with exercises are titled "Practice", while most are titled "Exercises".
This commit renames all of these to "Exercises".
2020-01-15 12:40:59 -06:00
Zhuoer Dong e25d3ac51b use `stat()` instead of `..` in "3.7 Statistical transformations" (#751)
https://r4ds.had.co.nz/data-visualisation.html#statistical-transformations
2020-01-15 12:40:37 -06:00
Jacek Kolacz 6eb53ea069 update tidyverse loadings (#754)
Update to the tidyverse prerequsities for the strings and factors chapters. stringr and forcats now load with the core tidyverse.
2020-01-15 12:40:22 -06:00
Hadley Wickham 1dd293436b Remove duplicate id
Fixes #755
2020-01-15 12:40:02 -06:00
Edwin Thoen 50e3db445c Assuring minimal version of Rstudio (#758) 2020-01-15 12:38:59 -06:00
Jeffrey Arnold a5fbbb5311 Revert typo (#760) 2020-01-15 12:37:55 -06:00
MattWittbrodt 92baa5d52b Update model-basics.Rmd (#765)
Added second colon to 'MASS:rlm()' -> 'MASS::rlm()'
2020-01-15 12:37:06 -06:00
Edwin Thoen 37b3029e8f inserting forgotten of (#767)
Otherwise this question doesn't make sense to me
2020-01-15 12:36:40 -06:00
Stéphane Guillou 3b91773ca2 typos (#773) 2020-01-15 12:36:27 -06:00
Benjamin Yeh 4708c0d8b5 Improve grammatical consistency (#774) 2020-01-15 12:35:22 -06:00
Kunal Marwaha 06fb600d84 Improve exercise wording (#781)
Fixes  #708
2020-01-15 12:32:53 -06:00
BirgerNi be32c6cf2f Update model-building.Rmd (#782)
The active website for Statistical Modeling: A Fresh Approach has been moved to Project Mosaic Books.
2020-01-15 12:31:54 -06:00
Bianca Peterson 2712ba113f Fixed text to correspond with code output (#784)
My guess is that the guess_parser() function was changed/updated since the writing of this book. From '?guess_parser', the following default is used: 'guess_integer = FALSE'. Thus column 'x' is not problematic anymore.
2020-01-15 12:31:10 -06:00
Pablo E 602baae78c Update import.Rmd (#787) 2020-01-15 12:30:28 -06:00
a-rosenberg 2182ff6248 name hour_perc should be hour_prop because proportion not percentage (#795) 2020-01-15 12:28:51 -06:00
Nicholas Tierney ba3892e3fe Update to say that there are over 40 geoms (#801) 2020-01-15 12:28:07 -06:00
Stéphane Guillou 4e2d2a1a12 good news for kakapos (#804)
Official report:
https://www.doc.govt.nz/news/media-releases/2019/kakapo-population-reaches-a-record-high-of-213/
2020-01-15 12:26:37 -06:00
John Blischak 8784e41d91 Update Chp 8 exercise on quote arg of read_csv(). Close #696. (#806) 2020-01-15 12:26:04 -06:00
Mine Cetinkaya-Rundel 08306263da Fix typo (#809) 2020-01-15 12:24:54 -06:00
robertchu03 80aec62b56 Correct typo or explanation (#818)
11 | 12 should be enclosed in parentheses otherwise the explanation is incorrect (Issue #704)
2020-01-15 12:23:51 -06:00
Hadley Wickham e8e0218f1a Eliminate devtools dep 2020-01-15 12:08:45 -06:00
Hadley Wickham 09fd870db7 Fix quotes in caption 2020-01-15 11:46:18 -06:00
Hadley Wickham 6a65eb9f89 No longer need dev versions of packages 2020-01-15 11:43:55 -06:00
Garrett Grolemund 2459702500 Updates R4ds to use pivot_ functions (#820)
* Updates tidy.Rmd to teach pivot_longer() and pivot_wider() instead of gather() and spread().

* Eliminates all out-dated uses of gather and spread found in a find-in-files search.

* Removes yaml header and duplicate sentence from tidy.Rmd.
2020-01-15 10:17:10 -06:00
Mara Averick ce824d0a33 Add google analytics (#745) 2019-01-08 07:45:50 -06:00
Zhuoer Dong 323a84bd45 typo in iteration.Rmd (#730) 2018-11-19 07:35:12 -06:00
Zhuoer Dong 3ff4336ca5 14.4 exercise of Detect matches should be 4th level heading (#727) 2018-11-12 09:55:21 -06:00
Yihui Xie 8ed781f99a Could you enable HTTPS? (#691) 2018-10-25 10:00:34 -05:00
Mara Averick 7781ed161f Update ESL link in 24.3 (#684)
* Fixes #663.
2018-10-24 12:26:16 -05:00
twgardner2 38cd5aa337 Reword amount of code reduction (#685)
* Update iteration.Rmd

* Update iteration.Rmd

Rewording the amount of code reduction due to generalizing code with a function
2018-10-24 12:26:03 -05:00
Rob Tenorio c63f496ed9 small typo referencing wrong object (#686)
Line 571 should reference word, the column name in df, not words, the vector.
2018-10-24 12:25:50 -05:00
Edwin Thoen 5d1a4b57ba consistency in referring to spread functions (#688) 2018-10-24 12:25:30 -05:00