Examples of creation of the vector in R?

Date: Fri-Jun-17-2016-
Response
2

In R programming, a vector consist of data elements

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

in vector.

>x<-c(10,20,30)

>x

 [1] 10 20 30

To know the total number of elements of a vector

type “length(variable)”.

>length(x)

[1] 3

Vector can be deleted by simply storing “NULL” to

the existing vector.

>x<-NULL

>x

 NULL

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



Just Updated::