DataScienceR
cheatsheets
Our great sponsors
DataScienceR | cheatsheets | |
---|---|---|
1 | 60 | |
1,959 | 5,587 | |
- | 1.3% | |
0.0 | 8.6 | |
about 1 year ago | 14 days ago | |
R | TeX | |
MIT License | Creative Commons Attribution 4.0 |
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.
DataScienceR
cheatsheets
-
Tools a Data Scientist should know:
If you're an R user, stringr + its cheatsheet gets you very close to remembering what to do without needing to look further!
-
JSON to PDF Magic: Harnessing LaTeX and JSON for Effortless Customization and Dynamic PDF Generation
For more information on how to use ggplot2 and create charts consult the ggplot2 official page or the ggplot2 cheat graphic.
-
Best packages to learn?
I'd suggest you have a look at cheatsheets (or download them from GitHub) if you want to get to know your way around a package or set if functions, it saves you a lot of time.
-
How do I make these shapes (pictured below) in ggplot?
You could use geom_hline and geom_vline, geom_abline, or geom_segment for this. (The ggplot cheat sheet is very useful for answering these kinds of questions, BTW.)
-
Why does my scatter plot look like this?
I can't say for sure because I don't know what your ultimate aim is for your visualization. Check out the cheat sheet for ggplot2 here.
-
Import from Excel
Finally just do your analysis. You should also should give a try and see the cheat sheet for data importing on the tidyverse package.
-
[Request] How to best visualize percentages with R?
That said, when Iβm trying to come up with an interesting way to visualize data, I find the ggplot cheat sheet very helpful: https://github.com/rstudio/cheatsheets/raw/main/data-visualization-2.1.pdf
-
Need help with variables
Here's a cheat sheet: https://github.com/rstudio/cheatsheets/blob/main/strings.pdf
-
Data manipulation in R
The cheat sheet of the stringr package should give you good overview of string manipulation/ regex in R.
-
I'm trying to recreate this plot but I keep failing
I would very highly recommend that rather than trying to get started by translating an existing graph, you check out some documentation about ggplot first. If nothing else, the ggplot cheat sheet from RStudio should help explain what the component parts of the code are, and that might help you figure out what you actually want to do.
What are some alternatives?
badger - Badge for R Package
tidytuesday - Official repo for the #tidytuesday project
aor - ππ¦ Advent of R: Utility Functions for the Advent of Code in R
forcats - ππππ: tools for working with categorical variables (factors)
design - Tidyverse design principles
mostly-adequate-guide - Mostly adequate guide to FP (in javascript)
lab02_R_intro - VeΕΎbe 2: Uvod u R
ggplot2-book - ggplot2: elegant graphics for data analysis
awesome-computational-social-science - A list of awesome resources for Computational Social Science
mech - π¦Ύ Main repository for the Mech programming language. Start here!
R-Fundamentals - D-Lab's 4 part, 8 hour introduction to R Fundamentals. Learn how to create variables and functions, manipulate data frames, make visualizations, use control flow structures, and more, using R in RStudio.
ggplot2 - An implementation of the Grammar of Graphics in R