Examples of creation of the vector in R?

Date: Fri-Jun-17-2016-

In R programming, a vector consist of data elements

of the same basic data type in sequence. These elements are called components

in vector.



 [1] 10 20 30

To know the total number of elements of a vector

type “length(variable)”.


[1] 3

Vector can be deleted by simply storing “NULL” to

the existing vector.




Date: Sat-Jun-18-2016
What is 1 + 100

Just Updated::