Commit Graph

1650 Commits

Author SHA1 Message Date
Hadley Wickham 40d7bcb5d0 Fix thinko 2021-04-18 15:57:30 -05:00
Hadley Wickham 043d821584 More logical Boolean diagram
Fixes #764
2021-04-18 09:58:25 -05:00
Hadley Wickham 18bbea1272 Remove too early functions from an exercise
Fixes #768
2021-04-18 09:48:54 -05:00
Hadley Wickham ef21701d2a Move exericse to better place
Fixes #792
2021-04-18 09:41:05 -05:00
Hadley Wickham 023606e9aa Use explicit ifelse
Fixes #852
2021-04-18 09:29:27 -05:00
Hadley Wickham 42bbae55d3 Update fct_lump() usage
Fixes #855
2021-04-18 09:21:59 -05:00
Hadley Wickham 4c171731e9 Remove redundant question
Fixes #836
2021-04-18 09:09:30 -05:00
Hadley Wickham 5d96dd41b9 Correct variable order
Fixes #835
2021-04-18 09:08:34 -05:00
Hadley Wickham 952d1ab4f0 Align text and code
Fixes #880
2021-04-18 09:02:33 -05:00
Hadley Wickham 47585ee920 Mention quantifier term
Fixes #898
2021-04-18 08:57:24 -05:00
Hadley Wickham 3abea6ba61 Fix typo
Fixes #934
2021-04-18 08:52:06 -05:00
Hadley Wickham 68b965e72d Add clarifying word
Fixes #938
2021-04-18 08:51:14 -05:00
Jakob Krigovsky 5785fc662c
Remove dmonths() exercise (#944) 2021-04-18 08:43:06 -05:00
Mine Çetinkaya-Rundel c15f6e5b57 Grammar suggestions from @zhaoy 2021-04-14 16:50:55 +01:00
Camille V Leonard abb99996d8
Remove "dumb" from acknowledgements. (#943)
I was just reading through this section of the book and thought that it would be good to remove "dumb". I'm trying to remove ableist language from my every day vocabulary and thought the R team would be interested in that as well.
2021-04-14 16:43:58 +01:00
vanderlindenma 2ee3426457
str_view(), repetition at most n times yields error #807, and small typos in "Iteration chapter" (#808)
* Update and rename strings.Rmd to strings.Rmd 

Proposed fix related to this issue: https://github.com/hadley/r4ds/issues/807

A more comprehensive fix should perhaps discuss why "`{,m}`: at most m" does not work (or warn the reader that it does not)

* Typos in iteration.Rmd

Correcting two small typos

* Add missing word

* Add code example for 1,m

Co-authored-by: Mine Cetinkaya-Rundel <cetinkaya.mine@gmail.com>
2021-04-14 16:43:36 +01:00
Jakob Krigovsky a4ac9c8db5
Remove reference to d3heatmap (#935)
d3heatmap is no longer maintained, see 5092396501/README.md.
2021-04-14 16:04:51 +01:00
Jakob Krigovsky 20b925c1ee
Fix str_to_upper’s default locale (#937)
From https://stringr.tidyverse.org/reference/case.html:

> locale: Locale to use for translations. Defaults to "en" (English) to ensure consistent default ordering across platforms.
2021-04-14 16:03:48 +01:00
Mine Cetinkaya-Rundel 27db40ad65
Data transformation (#940)
* Minor edit + link to style guide

* Fix reference

* If you don't know order of operations, not clear

* Alt text + minor edits

* Add median and fix reference

* Move up mult groups up to discuss summarise msg

* Go over grouping again

* Part rename

* Chapter rename

* Clean up section labels to avoid dups

* Update comment

* Switch part order

* Move columnwise to transform
2021-03-29 14:58:27 +01:00
funkybluehen 50703875cc
Update vectors.Rmd (#929)
Section 20.4.5 Subsetting
A small grammatical issue on line 329
(insert the letter 'a')
2021-03-26 13:13:34 +00:00
Jakob Krigovsky 631b93b1a4
Fix typos (#936) 2021-03-26 13:12:18 +00:00
Mine Cetinkaya-Rundel 1eee408cb6
Updates to whole game intro + dataviz chapter (#932)
* Streamline narrative for new chapters and part name

* Add to do note to add sizing for faceted plots

* Minor edits, function updates, figure alt text

* Revert references to vars() in facets, use formula

* Spell check, colo*u*r, comma after r in chunk def

* Streamline fig.alt language

* If eval = FALSE, don't need fig.alt

* Fix sentence fragment
2021-03-19 12:38:28 +00:00
Mine Cetinkaya-Rundel 588f70ac59
Merge pull request #924 from mine-cetinkaya-rundel/no-iris
Structural updates for 2e
2021-03-03 20:58:22 +00:00
Mine Çetinkaya-Rundel ad7fb0dd4b Second crack and 2e structure 2021-03-03 17:13:14 +00:00
Mine Çetinkaya-Rundel dc44bde9d9 Move up tidy data chapter 2021-03-03 15:30:28 +00:00
Mine Çetinkaya-Rundel 55cdb66df6 Add feather to imports to see if it helps w/ build 2021-02-22 13:41:06 +00:00
Mine Çetinkaya-Rundel 90d168246c Fix chapter reference 2021-02-22 13:34:21 +00:00
Mine Çetinkaya-Rundel b7c4498750 Add stub for new section 2021-02-22 13:00:06 +00:00
Mine Çetinkaya-Rundel 5769a02123 Update referencing style 2021-02-22 12:59:50 +00:00
Mine Çetinkaya-Rundel 6d977a565a Add new import part 2021-02-22 12:28:26 +00:00
Mine Çetinkaya-Rundel 9c2fdc7ee0 Update chapter references 2021-02-22 11:56:08 +00:00
Mine Çetinkaya-Rundel a6c9e4e6ab Update links and add blurb about new chapters 2021-02-22 11:36:53 +00:00
Mine Çetinkaya-Rundel b86a23477f Restructure wrangle, add stubs for new chapters 2021-02-22 00:22:15 +00:00
Mine Çetinkaya-Rundel dc31887b1e Rename files for whole game, move import in 2021-02-21 23:32:01 +00:00
Mine Çetinkaya-Rundel b5654a3a08 Rename part: explore -> whole game 2021-02-21 22:34:35 +00:00
Mine Çetinkaya-Rundel 55803fc8a3 Remove modelling
- Move files to extras/ for now
- Adjust references to modelling
- Or add TO DO items to adjust later
2021-02-21 21:29:24 +00:00
Mine Çetinkaya-Rundel f9109aadfe Add 2nd edition preface and planned major changes 2021-02-21 20:09:08 +00:00
Mine Çetinkaya-Rundel fbb738e799 Enumerate exercise subparts with letters 2021-02-21 17:32:37 +00:00
Mine Çetinkaya-Rundel 852f6b98a0 Remove references to iris 2021-02-21 17:12:50 +00:00
Mine Cetinkaya-Rundel 32c625c6ef
Use the visual editor (#923)
* Sentence wrap + visual editor Rmd style updates

* Move files not called in bookdown.yml to extra

* UK spelling + canonical source + sentence wrap

* Rename .rmd -> .Rmd

* Sentence wrap + visual editor Rmd style

* Fix capitalization
2021-02-21 09:40:40 -06:00
Mitsuo Shiota 1795c94855
Fix fct_lump example (#918)
* happen to have "Other" in factor levels

* rescind code change, instead add comments

* make an exercise
2021-02-09 07:25:34 -06:00
Hadley Wickham 8170f7c4f9 Add missing assignment 2021-02-08 12:11:28 -06:00
Mitsuo Shiota 8670e92a8c
Fix inconsistency in season (#921) 2021-02-08 11:35:19 -06:00
Mitsuo Shiota b1fb15a410
x_1 denotes a variable, while a_1 denotes a parameter (#920) 2021-02-08 11:35:02 -06:00
Mitsuo Shiota 35bca36e72
.x, not ., is recommended in ~ formula (#919)
* .x, not ., is recommended in ~ formula

* change . to .x to be consistent

* . refers to a list, while .x refers to a list element
2021-02-08 11:34:49 -06:00
Mitsuo Shiota f1805f2bfc
ggstance package has been superseded by ggplot2 3.3.0 (#917) 2021-02-08 11:33:15 -06:00
Mohammed Hamdy e13a376ef1
Typo fix for model-basics.Rmd (#910)
Corrected "the" to "then" on line 108
2021-02-08 11:33:01 -06:00
Jordan 36a67dd388
Two typo fixes for model basics chapter (#908)
* Remove typo

* Make model function naming convention consistent
2021-02-08 11:32:34 -06:00
hendrikweisser 59a5b116ed
Spelling fix ("dagwood sandwhich") (#907) 2021-02-08 11:32:01 -06:00
Jakob Krigovsky cbedaab8ae
Fix capitalization of “Twitter” (#903) 2021-02-08 11:31:13 -06:00