COVID-19
forcats
COVID-19 | forcats | |
---|---|---|
2 | 4 | |
215 | 554 | |
- | -0.2% | |
4.1 | 1.7 | |
about 1 year ago | 4 months ago | |
R | R | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
COVID-19
-
Frustration: One Year with R
If you enjoyed this you might like https://github.com/VictimOfMaths/COVID-19 :)
-
[OC] Progress in COVID vaccinations in England by age and sex
R code to produce the gif is here.
forcats
-
Using scale_x_discrete on graphs
Have a look at the forcats package https://forcats.tidyverse.org/
-
[Q] 'pivot_longer' applied to an object of class "character"
Such a function wouldn't add anything that factor() or as.factor() don't already do, but the forcats tidyverse package does make it easier to work with factor variables afterwards: https://forcats.tidyverse.org/
-
This chart has the days of the week on the x-axis, but they are all over the place, starting with Sunday and then going to Wednesday. My table has the correct sequence of days. So why is this happening to me? :\
Turn weekdays to factors to have some control over order. https://forcats.tidyverse.org/ https://r4ds.had.co.nz/factors.html#modifying-factor-order
-
Frustration: One Year with R
This was fun to play around with. I made some very minor changes and posted at https://gist.github.com/hadley/d54895557fbb0fe0402d2277b9011....
It revealed to me that there's a buglet in `forcats::last()` (https://github.com/tidyverse/forcats/issues/303) and made me wonder if `pivot_longer()` should be able to rename the columns as you pivot them (https://github.com/tidyverse/tidyr/issues/1338)
What are some alternatives?
ggplot2-book - ggplot2: elegant graphics for data analysis
cheatsheets - Posit Cheat Sheets - Can also be found at https://posit.co/resources/cheatsheets/.
mech - 🦾 Mech is a programming language for building data-driven systems like robots, games, and interfaces. Start here!
Frustration-One-Year-With-R - An extremely long review of R.
dtplyr - Data table backend for dplyr
tidyr - Tidy Messy Data
desctable - An R package to produce descriptive and comparative tables
plotnine - A Grammar of Graphics for Python