Helpfulbox Now Offers Free POS Software for restaurants, kiosk, and any other retails business completely free used windows cashier system or as full blown POS. You will able to print to kitchen, display orders on the kitchen screen, manage inventory, employee, report, customer loyalty offers, employee management, delivery address track and much more, al for free.

How to add more elements to the vector?

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

> x<-c(1,2,3,4,5,6,7,8,9,10)

> x

 [1]  1 

2  3  4  5  6 

7  8  9 10

> length(x)     

# to know the total element in a vector x

[1] 10

> x[5]          

# to find the 5th element of x

[1] 5

> y<-c(x,11,12,13,14,15)        # include 11,12,13,14,15  in x and store it in y

> y

 [1]  1 

2  3  4  5  6 

7  8  9 10 11 12 13 14 15

> length(y)                   # to know the total number of

elements in y

[1] 15

> y[-15]                       # find all but 15th elements of x

or  remove the 15th element of

y

 [1]  1 

2  3  4  5  6 

7  8  9 10 11 12 13 14

> y[1:3]                       # fine 1st,2ndand

3rd element of y

[1] 1 2 3

> y[c(1,3,5)]               # find 1st , 3rd

and 5th elements of y

[1] 1 3 5

> y[1]<-16                  # replace the first element

by 16 of y

> y

 [1] 16  2 

3  4  5  6  7 

8  9 10 11 12 13 14 15.

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



Helpfulbox Now Offers Free POS Software

for restaurants, kiosk, and any other retails business completely free. It can be used as windows cashier system or as full blown POS. You will able to print to kitchen, display orders on the kitchen screen, manage inventory, employee, report, customer loyalty offers, employee management, delivery address track and much more, all for free.

Just Updated::