R Introduction

Vectors - Part 2

Introduction In the previous post, we learnt to create vectors of different data types. In this post, we will learn to coerce different data types perform simple operations on vectors handle missing data index/subset vectors Naming Vector Elements It is possible to name the different elements of a vector. The advantage of naming vector elements is that we can later on use these names to access the elements.