Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain how to repeat vectors in r?



Explain how to repeat vectors in r?..

Answer / Anurag Pal

In R, you can repeat a vector using the rep() function. The syntax is: `rep(x, times)`, where x is the vector to be repeated and times is the number of repetitions for each element.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

What is length function in r?

1 Answers  


What is data structure in r?

1 Answers  


Explain bor function?

1 Answers  


What is the difference between a bar-chart and a histogram?

1 Answers  


Give the syntax for creating scatterplot matrices?

1 Answers  


What is the difference between rnorm and runif functions ?

1 Answers  


How to call c function from r?

1 Answers  


What is tcp/ip variable smc-r storage allocations?

1 Answers  


How do I sort in descending order in r?

1 Answers  


What is the reshaping of data in R?

1 Answers  


give examples of while and for loop in r.

1 Answers  


Explain what is transpose?

1 Answers  


Categories