Commit Graph

1274 Commits

Author SHA1 Message Date
Hadley Wickham 8d7c705993 Add code of conduct and update acknowledgements
Fixes #884
2020-10-05 17:56:27 -05:00
Hadley Wickham 08a93c7eb4 Set file_scope option
Fixes #886
2020-10-05 11:28:01 -05:00
Hadley Wickham 02ad3896f3 Bump correct cache 2020-10-04 16:16:33 -05:00
Hadley Wickham a182b874bd Fix typo
Fixes #876
2020-10-04 16:12:56 -05:00
Hadley Wickham f0215486cc Consistent function names
Fixes #790
2020-10-04 16:08:10 -05:00
Hadley Wickham 335a0cb291 Remove extra pipe
Fixes #777
2020-10-04 16:05:58 -05:00
Hadley Wickham 3b11ca60db Update table name
Fixes #793
2020-10-04 16:04:51 -05:00
Hadley Wickham f2d7e6a921 Remove mention of scalar functions
Fixes #699
2020-10-04 15:57:45 -05:00
Hadley Wickham ec4140a9e5 Update object size
Fixes #698
2020-10-04 15:56:36 -05:00
Hadley Wickham 7d6d307e36 Bump digits (and flush cache)
Fixes #592
2020-10-04 15:40:48 -05:00
Hadley Wickham 49b295d0ac Bump cache 2020-10-04 15:34:55 -05:00
Hadley Wickham a2139dff4e Suppress crayon
Fixes #885
2020-10-04 15:08:52 -05:00
Hojjat Salmasian b12102f673
Dictation and grammar corrections for chapters 1-4 (#776) 2020-10-03 09:49:58 -05:00
Maria Paula Caldas 09d84c4c5a
Small typos in tidy chapter (#821)
* Fix typo (names_ptypes)

* Replace na.rm with values_drop_na

* Fix typo (be to by)
2020-10-03 09:45:39 -05:00
Maria Paula Caldas c6e0a7a990
Replace deprecated summarise_each() for summarise_all() (#824) 2020-10-03 09:43:52 -05:00
Maria Paula Caldas 9eb33d8dcc
Provide arguments to nest() and unnest() to get rid of warnings (#825) 2020-10-03 09:43:41 -05:00
Angela Li 50adc6a9f3
Typo fix (#828) 2020-10-03 09:43:19 -05:00
boardtc d6e7ae07b8
Update rmarkdown.Rmd (#829)
Fixed broken link for rstudio cheat sheets
2020-10-03 09:43:03 -05:00
Charlotte Wickham 762b6af400
Update stat_summary args for ggplot2 3.3.0 (#839) 2020-10-03 09:41:36 -05:00
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