r4ds-exercise-solutions icon indicating copy to clipboard operation
r4ds-exercise-solutions copied to clipboard

Exercise solutions to "R for Data Science"

Results 47 r4ds-exercise-solutions issues
Sort by recently updated
recently updated
newest added

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.2 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@​ChALkeR). Fix boolean schemas with strictKeywords...

dependencies

Please briefly describe your problem and what output you expect. - Include a link to page, and reference the exercise number (if applicable). The Twitter icon link goes to a...

The question text: Compare air_time with the duration between the departure and arrival. Explain your findings. (Hint: consider the location of the airport.) I spent 10 days on this to...

Based on the Exercise question, the ordinate should be class, hence our code should swap the positions of x and y. One can write mpg %>% ggplot()+ geom_point(aes(drv,class)) or ggplot(mpg,...

The character vector in `f1´ should be `string` and not ´nchar`, which in `f1` returns the number of characters of the ´prefix` argument.

Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 2.8.8 (2020-02-29) Bug Fixes #61 & #65...

dependencies

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2. Commits See full diff in compare view Maintainer changes This version was pushed to npm by oss-bot, a new releaser for y18n since your...

dependencies

At the first part of solution, where you got planes with 100 at least, you need to filter like: `filter(!is.na(air_time))` , because `filter(!is.na(tailnum))` count flights, that scheduled but didn't completed....

In [Exercise 5.7.6](https://jrnold.github.io/r4ds-exercise-solutions/transform.html#exercise-5.7.6) after the fisrt section of code it says I add 1 to the denominator and numerator to avoid dividing by zero But the code used only has...