Commit Graph

1344 Commits

Author SHA1 Message Date
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
DSGeoff d1a63fe379 Minor typos (#689)
* Fix a few minor typos

Examples include saying we'll learn about filter() in the next chapter, but it's not until chapter 5.  And, also, it says we'll learn about how to use multiple geoms in the same plot in the next section, but then not far below, in the same section, it shows how to use multiple geoms.

* Three minor fixes in chapter 5

* Remove " I introduced in prior commit
2018-10-24 12:25:11 -05:00
Zach Bogart 86653389e3 fix speed parenthetical in intro (#693) 2018-10-24 12:24:42 -05:00
Zhuoer Dong e32418becd correct indentation of list in vectors.Rmd (#697)
The beginning "Double" is five space away from the left margin, while the R code chunk is only four thus not recognized as block element by Pandoc.
2018-10-24 12:24:23 -05:00
Luke W Johnston b38b0ce4cb Quote attribute moved into md blockquote (#707)
Assuming person attribution to quote should be in the same blockquote.
2018-10-24 12:23:35 -05:00
Ulrik Lyngs 9fe4a64ec8 Fix typo (#709)
removing an 's'
2018-10-24 12:23:22 -05:00
Ulrik Lyngs 428e1d2186 Fix two typos (#710) 2018-10-24 12:23:06 -05:00
Kara de la Marck a808d61a88 Fix typo (#721) 2018-10-24 12:22:08 -05:00
Stéphane Guillou 63716ebed9 missing "who" in thank you sentence (#722) 2018-10-24 12:21:50 -05:00
hadley 39d22b750c Update node 2018-10-24 11:48:00 -05:00
hadley b0b829f0f8 Deploy to production 2018-10-24 11:22:01 -05:00
hadley b128946455 Remove adv-r specific install script 2018-10-24 06:56:26 -05:00