Commit Graph

65 Commits

Author SHA1 Message Date
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
David Rubinger 44663f4613 Fix typos and formatting (#670) 2018-06-20 11:12:02 +02:00
pete a2f7418c10 Update functions.Rmd (#591) 2018-06-20 10:00:13 +02:00
lindbrook 413e407242 functions.rmd: Writing pipeable functions (#475) 2017-05-03 07:52:35 -05:00
Andrea Gilardi b104592606 Update Functions.Rmd (#526)
I think there is a typo in wt_mean because if it's a weighted mean of x with weights w it should be sum(x * w) / sum(w)
2017-01-23 09:05:54 -06:00
hadley 1729264d91 More comments from @csgillespie 2016-10-07 08:18:32 -05:00
Brett Klamer ab908c6104 Fixing typos in functions.Rmd (#307) 2016-08-26 07:40:35 -05:00
S'busiso Mkhondwane 947a5da3c1 Update functions.Rmd (#293)
Small typo
2016-08-20 17:26:10 -05:00
hadley eecf629110 Ooops need dplyr here 2016-08-18 14:52:43 -05:00
hadley b632d512f7 Function proofing 2016-08-18 08:37:48 -05:00
hadley 9398e03ddf Function arg tweaks 2016-08-10 15:56:09 -05:00
hadley 93a23b3f28 Tweak functions 2016-08-09 15:49:26 -05:00
hadley 6ac66efba7 Typo
Closes #128
2016-07-22 11:26:43 -05:00
behrman bf36866882 Fix typos (#156) 2016-07-19 16:41:38 -05:00
hadley 8faebedf9f Consistent chapter intro layout 2016-07-19 08:01:50 -05:00
Mustafa Ascha 154cd9486b Fix typos (#141)
* Fix typos

I also changed the order of words in a sentence, but that might be a matter of style.

* Changed determinant to determine

Take care!

* Determinant changed to determine

For some reason, the Travis CI didn't build when I changed the last file. I'm trying again, hope it isn't a bother (is there a term for spamming a github repo?)
2016-07-15 10:14:35 -05:00
hadley 539e6d9a8a Fixes from Roberto 2016-06-27 13:07:23 -05:00
hadley 80db16f565 Merge branch 'master' of github.com:hadley/r4ds
# Conflicts:
#	index.rmd
2016-04-01 10:32:09 -07:00
hadley a78edc2e20 Fixes to get pdf book building 2016-04-01 10:31:09 -07:00
Jakub Nowosad 4efd7e5da6 link fixed 2016-03-25 15:42:33 +01:00
hadley 39e4f27146 Merge branch 'master' of github.com:hadley/r4ds 2016-03-21 08:55:09 -05:00
hadley cc84fc4085 Working on iteration 2016-03-21 08:55:07 -05:00
Ahmed ElGabbas ad1ce3b312 typo 2016-03-18 02:41:52 +01:00
hadley 6f2f9b858d Improvments suggested by @tjmahr 2016-03-11 13:11:41 -06:00
hadley 72c726cf7c Starting brain dump of data structures 2016-03-11 09:10:20 -06:00
hadley 33505b579d Better language 2016-03-10 09:37:19 -06:00
hadley c6629dcd1c Tweak final functions para 2016-03-10 08:51:38 -06:00
hadley 3496aafabf A bit about equality 2016-03-10 08:49:41 -06:00
Hadley Wickham 97948370fe Merge pull request #64 from ijlyttle/patch-2
Functions.Rmd: some proposed words on identical()
2016-03-10 08:33:24 -06:00
Ian Lyttle 6410b4f969 Functions.Rmd: some words on identical()
Adds discussion of `identical()` function to `if` section. 

I, personally, find identical() to be useful, but I can see that it does not add aesthetic value to the code. 

(BTW, really enjoying seeing this book come together!)
2016-03-10 08:07:44 -06:00
Ian Lyttle 3aa7cb847c Update Functions.Rmd
I think the Little Bunny was missing a Foo :)
2016-03-10 07:48:51 -06:00
hadley 89c60af173 Minor tweaks 2016-03-09 08:42:51 -06:00
hadley 6c7b156ded More writing about functions 2016-03-08 08:15:54 -06:00
hadley e672cb3372 More functions writing 2016-03-07 08:32:47 -06:00
jennybc 2b41ac6a04 typos and similar 2016-03-04 13:52:00 -08:00
hadley 6f5f443734 More functions polishing 2016-03-04 09:30:16 -06:00
Brandon Greenwell fbff357827 Fixed typos and made minor grammar changes 2016-03-04 09:02:40 -05:00
hadley f6d7f86a84 More writing about functions 2016-03-03 08:25:43 -06:00
hadley ec308d1a5e Discuss types of arguments 2016-03-02 10:55:14 -06:00
hadley 86b78e8c74 Working on functions
* remove more esoteric stuff
* add more style suggestions
2016-03-02 10:54:56 -06:00
hadley f3db1315db Pull out iteration and pipes chapters 2016-03-01 08:29:58 -06:00
hadley 68a398a59e Clarify a few bits of functions 2016-03-01 08:16:28 -06:00
hadley b3fe88f39e Start on where pipes don't work.
Fixes #56
2016-02-29 09:00:44 -06:00
hadley 62752f4918 Run common code at the start of every chapter 2016-02-17 16:33:25 +11:00
hadley 9e2fc73aac Drop jekyll markdown 2016-02-17 16:26:32 +11:00
hadley acc8f777ea Switch to rstudio/bookdown
But don't deploy yet
2016-02-17 06:39:15 +11:00
hadley b8abb5e88e Try upgrading jekyll 2016-02-17 05:37:57 +11:00
hadley 616cad0f7a More about functions 2016-02-12 16:05:25 -06:00
Radu Grosu 27e70f2234 Update functions.Rmd
typos
2016-02-12 11:54:28 +00:00