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 replicate function works in R.

Date: Sat-Jun-18-2016-
Response 1
2

‘rep’ function is used to generate repeated values.

 For example,

to generate a vector of 10 elements each 2.

>y<-rep(2,10)

>y

 [1] 2 2 2 2 2

2 2 2 2 2

Here, 2 indicates the value before comma of which

has to be repeated and 10 indicates the values after comma of what times will

be repeated.

 

>x<-re(1:4,4)

>x

 [1] 1 2 3 4 1

2 3 4 1 2 3 4 1 2 3 4

The values 1 to 4 are repeated 4 times by the help

of ‘rep’ function.

 

>x<-c(8,9,12)

>rep(x,2)

 [1] 8 9 12 8

9 12

The values stored in ‘x’ are repeated for two times.

>rep(x,1:3)

 [1] 8 9 9 12

12

 

.
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::