📊 Essentials of R
Table of Contents
What you will learn
- Fundamental topics in R programming
- Gain experience with data manipulation,
- Visualization
Program overview
We will start with basics of R.
Courses in this program
Data Types
Learn more about types of data in R. Data Types In R R can be used as a calculator: 2+3 To find the square root of 4 simply type:
File Management
Check this before you start learning R. Notes about asking help help.start() help.start() starts and displays a hypertext based version of R’s online documentation in your default browser that provides links to locally installed versions of the R manuals, a listing of your currently installed packages and other documentation resources.
Visualization
Learn how to visualize data with R. plot
Control Flow
Control Flow If x <- 5 if(x > 0){ print("Positive number") } ## [1] "Positive number" x <- -5 if(x > 0){ print("Non-negative number") } else { print("Negative number") } ## [1] "Negative number" x <- 0 if (x < 0) { print("Negative number") } else if (x > 0) { print("Positive number") } else print("Zero") ## [1] "Zero" # Create vector quantiy x <- 10 # Create multiple condition statement if (x <20) { print('Good') } else if (x > 20 &x <= 30) { print('Average') } else { print('Bad!