Commit Graph

1762 Commits

Author SHA1 Message Date
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
Jakob Krigovsky 94f42e373c
Fix spelling of “Stack Overflow” (#902) 2021-02-08 11:31:04 -06:00
Ulrik Lyngs f9d06ba4c4
Fix ungrammatic sentence (#900) 2021-02-08 11:30:33 -06:00
Ulrik Lyngs eb8404ddf9
fix typo (#899) 2021-02-08 11:30:06 -06:00
Vebash Naidoo 46c395a954
Potential typo? (#897)
I don't know if it was meant to be this way, because it's actually not weird to say `data time` but assuming it was meant to be `date time` I amended:

regular data time `lubridate::as_date_time()` -> regular date time `lubridate::as_date_time()`
2021-02-08 10:31:26 -06:00
Kevin Ferris 9d6ed46c5e
Removed reference to deprecated .drop argument (#896)
According to the output and documentation, `.drop` was deprecated as an argument.  I'd propose just removing this chunk and adding a comment in the original `unnest(glance)` pipeline
2021-02-08 10:31:10 -06:00
aleloi e2d5d7b31a
Switch from stat() to after_stat() in chap 3. (#895)
The docs in of aes_eval in [most recent](https://ggplot2.tidyverse.org/reference/aes_eval.html?q=after%20_%20stat#arguments) ggplot2 3.3.2 say that after_stat() and after_scale() has replaced stat().
2021-02-08 10:30:54 -06:00
Vebash Naidoo 23996a081d
dplyr does have a drop option (#894)
We can include levels with no observations in dplyr::count() now with the .drop = FALSE argument setting. I changed the wording and added an example. Please feel free to amend text wording and remove example if you wish.
2021-02-08 10:30:40 -06:00
Mine Cetinkaya-Rundel d1a3741fd5
Super minor typo fix (#893) 2021-02-08 10:30:17 -06:00
Pooya Taherkhani 164172d32a
Drop na.rm=TRUE when data is already purged of NAs (#811)
In transform.Rmd (Chapter 5, Data Transformation), under Counts (5.6.3),
we removed na.rm = TRUE when computing mean because all NAs for
arr_delay were already removed when creating not_cancelled dataset.
2021-02-08 10:29:21 -06:00
olivier6088 1c21ba1e68
Update relational-data.Rmd (#759) 2021-02-08 10:28:47 -06:00
Mine Cetinkaya-Rundel 8fec043d5f
Tidy data edit (#914)
* No need to load ggplot2, tidyverse is loaded

* Add motivation for why to pivot + minor edits

* Add an exercise on making a contingency table

* Use index.Rmd instead of rmd to make the build work

* Case study should be sentence case

* Make figure more legible and don't rely on color alone

* Streamline example + names_transform

* Potential pathway for more advanced pivot_wider

* Pivot even wider example + new unite exercise

* Update case study to use full feature pivot_wider

* Change the pregnancy exercise

* Fix chapter reference

* Remove century example since first 2 digits is not century

* Add caption to floating figure

* Align parens

* Fix referencing

* Add alt text to all chunks with plots or figures

* Remove unused figure (related to year -> century)

* Make subparts of exercises alphabetical

* Remove references to names_transform, use mutate()

* Fix code style

* Few more chp/sec reference fixes

* Put line break back
2021-02-05 10:44:17 -06:00
Hadley Wickham a1855ab4f9 Start on 2nd edition 2021-02-04 15:23:41 -06:00
Mine Cetinkaya-Rundel 2390ed29b1
Use index.Rmd instead of rmd to make the build work (#916) 2021-01-31 10:34:35 -06:00
Hadley Wickham 2d1db88de8 Move packages to suggests
If only needed to build book
2020-11-05 14:30:23 -06:00
Hadley Wickham 7f9e6cc16c use_tidy_description() 2020-11-05 14:28:22 -06:00
Hadley Wickham a3e35f85cb Use bookdown::bs4_book 2020-11-05 14:27:59 -06:00
sciencificity 9e8a7ee756
A spelling fix (#891)
'supressess' changed to 'suppresses'
2020-11-05 13:28:10 -06:00
Hadley Wickham 4875bd1e16 Move netlify sponsorship to bottom 2020-10-09 07:08:05 -05:00
Hadley Wickham c7f80493d3 Bump bookdown cache (and rename action) 2020-10-09 06:52:41 -05:00
Hadley Wickham 04d2eebbef Get more info 2020-10-06 16:59:22 -05:00
Hadley Wickham 5beb87b800 Standardising 2020-10-06 16:17:30 -05:00
Hadley Wickham 9b93818260 Doesn't need name 2020-10-06 13:35:24 -05:00
Hadley Wickham 77f12b48ff Use official pandoc installer 2020-10-06 13:29:02 -05:00
Hadley Wickham ae632438d9 Tweak acknowledgements 2020-10-06 07:09:16 -05:00
Hadley Wickham 530cfe4b66 Remove number from acknowledgements 2020-10-06 07:01:35 -05:00
Hadley Wickham 5bf00290d2 Actually commit code of conduct 2020-10-05 17:58:33 -05:00
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