Marinstatslectures

Like Us on FacebookFollow Us on TwitterSubscribe to Us on Youtube!Join Us on Google+

Introduction to R Programming: Creating Vectors, Matrices, and Other Intro Topics: (R Tutorial 1.2)

 

In this video you will learn how to create vectors and matrices and perform simple operations on them using the R programming language.

Here, we will show you how to use the "c" (concatenate) command to create vectors for both numbers or objects in R and preform arithmetic functions on the elements of one vector or the corresponding elements of two vectors. You will also learn to use other commands such as the "seq" to create sequences, "rep" to create a vector of repeated numbers or characters, and [] (square brackets) to extract elements of a vector.

Later in this tutorial, you will learn to create a matrix using the "MATRIX" command, use [] (square brackets) to extract elements of the matrix, and preform arithmetic functions on it.

 

 

 

Previous Video in Series 1 R Tutorials Next Video in Series 1 R Tutorials

Back to Series 1 R Tutorials