In this video, I introduce R programming in RStudio. I show how to create and run an R script, use ctrl enter to run code in the console, and set simple variables like a equals 2 and b equals 3, then compute a plus b. I walk through vectors with c(1,2,3) and c(4,5,6), plot X and Y, and use help with question mark sqrt. Then I explore the mtcars data frame, including rows 32, columns 11, dim 32 by 11, and accessing values by row and column using both indices and names. I do not ask viewers to do anything specific.
00:00 Start RStudio and scripts
02:25 Vectors and plotting basics
04:58 Load mtcars and overview
06:42 Explore data with views
08:32 Select rows and columns
12:17 Use names for selection
14:47 Get a specific value
Download
0 formats
No download links available.
Dev R 001 Introduction to R Programming in RStudio | NatokHD