R
R is a high-level programming language that is widely used for statistical analysis and data visualization.
- developed at the University of Auckland in 1993 by Robert Gentleman and Ross Ihaka
- for the purposes of performing statistical computing and creating graphics (such as visualizations)
- is an interpreted language
- open source
Coding R for Statistical Analysis
- RStudio is an IDE meant for working with R
- key language for data science
- Tidyverse is a collection of packages commonly used by data scientists for data analysi
- popular packages:
- ggplot2 for data visualization
- dplyr for data manipulation
- readr for reading in flat files
- popular packages:
- difference between package and library:
- pacakge is a collection of pre-written code, functions, and resources that can be imported to add specific capabilities or simplify common tasks
- library is the place (directory/folder) where packages are stored, though this can also mean a collection of functions/code loaded at runtime
Notebooks are an interactive document that allows professionals to run code, create visuals, and interact with data in real time, all in one place.
- Jupyter Notebook is a popular notebook
- can be used with both the R and Python languages
- can have commentary alongside your code