R is an open source and free programming language which is often used as a data analysis and statistical software tool. R is most commonly used together with the IDE (Integrated Development Environment) application RStudio which can be downloaded and used for free. RStudio provides access to source, console, environment, history, files, graphs on a single screen.
Distributed under the terms of the |
It is important that you install R before you download and install RStudio.
R is an open source and free programming language. It is important that you install R before you download and install RStudio. Please follow these instructions:
Installation of R for Windows
It is important that you install R before you download and install RStudio.
Windows
Click the Windows-button and scroll down to find RStudio in the list of applications
Mac
Open Spotlight and search for RStudio
Now we're ready to get started. The first thing we should do is to create a new R-file to work with.
Go to File -> New File -> R Script
Save your script in a place where you can find it later
Click File -> Save As
The console should now show your working directory
You should also see the correct path and file in Files section
Follow this link to download the course.
This course covers the following:
RStudio Interface
Setting Eorking Directory
Variables/Objects
Built-in Functions
Inspect, select and manipulate one column in your dataset
Visulize data using boxplot
Give your plot color and title
Read files (which are saved on your computer)
Visualize data using histogram
Manipulate date formats
Aggregate data using the Stats library
Visulize data using the ggplot library
Follow this link to download the course.
This course covers the following:
R Operators and Functions
Correlations
Regression Models
Statistical Tests
Visualizations with ggplot
R Markdown
Adviced background knowledge: Basic experience with R and RStudio, equivalent to our introdutory course.
The default interface in RStudio consists of four boxes.