Operations on Vectors in R
Vectors in R is the native way of handling data. In addition to the vector operations you saw in the linear algebra textbook, R supports a lot more. In this post, you will learn about:
- How to manipulate a vector
- How to treat vectors as sets
Let’s get started.
Overview
This post is divided into three parts; they are:
- Reading and Modifying a Vector
- Vectors as Sets
- Arrays in R
Reading and Modifying a Vector
The