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 the byte in R?

1 Answers  


How will you list all the datasets available in all R packages?

1 Answers  


What is procedural programming in r?

1 Answers  


Explain how to save graphs in R?

1 Answers  


What is meant by character function in R?

1 Answers  


How many types of functions are there in R string manipulation?

1 Answers  


How can you create a pca model in r?

1 Answers  


Explain general format of matrices in r?

1 Answers  


Which function is used to create a boxplot graph in R?

1 Answers  


Why the stepaic()?

1 Answers  


Give examples of “select” and “filter” functions from “dplyr” package.

1 Answers  


How do I sort in descending order in r?

1 Answers  


Categories