forcats
desctable
forcats | desctable | |
---|---|---|
4 | 2 | |
553 | 52 | |
-0.2% | - | |
1.7 | 0.0 | |
5 months ago | almost 3 years ago | |
R | R | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
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.
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)
desctable
- New to R. Anyone have a go-to way to make a pretty descriptives table?
-
desctable has a website, and a new version!
The new API is not yet complete, but has feature parity with the old one, and will be further developed towards 1.0. (have a look at the roadmap on the github repo) desctable has now full support for purrr::map-like formulas when defining statistics and tests, and a easier to manipulate internal format. There's a new website at https://desctable.github.io, the repo has moved to it's own org (https://github.com/desctable/desctable), and new documentation and vignettes have been written!
What are some alternatives?
cheatsheets - Posit Cheat Sheets - Can also be found at https://posit.co/resources/cheatsheets/.
janitor - simple tools for data cleaning in R
ggplot2-book - ggplot2: elegant graphics for data analysis
Practical-Applications-in-R-for-Psychologists - Lesson files for Practical Applications in R for Psychologists.
dtplyr - Data table backend for dplyr
IntRo - Introduction to R for health data
mech - 🦾 Mech is a programming language for building data-driven systems like robots, games, and interfaces. Start here!
tidytext - Text mining using tidy tools :sparkles::page_facing_up::sparkles:
tidyr - Tidy Messy Data
tidylog - Tidylog provides feedback about dplyr and tidyr operations. It provides wrapper functions for the most common functions, such as filter, mutate, select, and group_by, and provides detailed output for joins.
Frustration-One-Year-With-R - An extremely long review of R.
tidyverse - Easily install and load packages from the tidyverse