Marinstatslectures

Getting Started with R Programming Langauge

In Series 1 of R programming video tutorials (Getting Started with R) we will get started working with R and Rstudio. These easy to follow video tutorials will walk you through the very first steps of downloading and installing R and RStudio to learning about working directories, writing scripts and commands in R, and more!

 

Here are the R Video Tutorials: 

play button (R video tutorial 1.1): What is RStudio and Why should you use it

play button(R video tutorial 1.2): Download, Install and Setup R and RStudio

play button(R video tutorial 1.3): Getting Started with R: Basic Arithmetic functions and coding in R

play button(R video tutorial 1.4): Creating and Working with Vectors and Matrices in R

play button(R video tutorial 1.5): Import Data, Copy Data from Excel to R (csv and txt files)

play button(R video tutorial 1.5b): Importing/Reading Excel data into R using RStudio (readxl) 

play button(R video tutorial 1.6): Export Data from R (csv , txt and other formats)

play button(R video tutorial 1.7): Import and Work with Data in R: Importing Data, Checking the Imported Data and Working with Data in R

play button(R video tutorial 1.8): Variables in R: Working with Variables and Data in R and Produce Summaries

play button(R video tutorial 1.9): Subsetting (Sort/Select) Data with Square Brackets and Logic Statements in R

play button(R video tutorial 1.10): Logic Statements (TRUE/FALSE) and cbind and rbind Functions in R

play button(R video tutorial 1.11): Setting Up a Working Directory: How to set up working directories in R for a project in R using menus in RStudio and functions in R

play button(R video tutorial 1.12): Scripts in R: What are Scripts in R and How to create them

play button(R video tutorial 1.13): Packages in R: Where to Find Packages for R and How to Install Packages with R functions or RStudio Menus

play button(R video tutorial 1.14): Customizing the Look of RStudio: Changing the Themes, Fonts and More in RStudio

play button(R video tutorial 1.15): Apply Function in R Progrmaming Langauge: How to use the apply() function in R, to apply a function to all rows or columns of a data frame. The apply function essentially is a specialized loop function, although it is more efficient than a simple for-loop.

play button(R video tutorial 1.16): tApply Function in R Progrmaming Software: How to use the tapply() function in R, to apply a function to subsets of a variable or vector. The tapply function essentially is a specialized loop/subsetting function, although it is more efficient than a simple use of square brackets or a subset command. The tapply function in R allows us to divide a variable into multiple groups based on another variable(s) used to define the groups/subsets, and then apply a function to each of the groups/subsets.

 

These videos can be used by beginners in R and anyone intrested in statistic with R and data science with R. No prior knowledge of R programming is needed, just a passion to learn! Next watch Series 2 of R video tutorials on how to produce descriptive statistics and graphs with R.   

To install R go to http://www.r-project.org and for RStudio go to http://www.rstudio.com

Make sure to use the free datasets provided for you to get some hand on experience while watching the tutorials!

marinstatslectures! have fun with statistics