Two-day introduction to R covering (two mornings)
-
Day 1
- Data Types
- Indexing
- Functions
- Data Input and Output
-
Day 2
- Simple data analysis in R
- Plotting
-
Show them how I use R:
- Plain R console
- Text editor (e.g., Vim or Notepad++)
-
Show RStudio
- https://rstudio.iwm-tuebingen.de/
- Customize:
- Choose your color theme
- Change the panels layout
- Change default setting for
.RData
and.RHistory
-
You try out stuff in the console
-
The script contains everything that you want to keep
-
Comment and organize
-
Then reorganize
-
Open R and type along
-
Tell me to slow down
-
Online people also!
-
Online book is at XXX
-
Do the exercises to get some practice
- You can make an appointment and we go through them together
- Maybe add for next time:
- Simple data simulation and power analysis
- Pipes
- Styleguides
- RMarkdown
- Using RProjects in RStudio