Describe grep() in r string manipulation?



Describe grep() in r string manipulation?..

Answer / Bijendra Kumar

grep() is a function in R used for pattern matching. It searches through character vectors (strings) and returns the indices of the elements that match a given pattern.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

Write a custom function in R?

1 Answers  


How do you get the standard deviation for a vector x?

1 Answers  


How you can create a table in r without external file?

1 Answers  


How will you combine multiple different string like “data”, “science”, “in” ,“r”, “programming” as a single string “data_science_in_r_programmming” ?

1 Answers  


Explain for loop control statement in r?

1 Answers  


What is a file in r?

1 Answers  


What is SAS and SPSS in R?

1 Answers  


Why Reshape R Package?

1 Answers  


What is the need for Predictive Analysis in R?

1 Answers  


Explain statistical functions performed by R?

1 Answers  


What are the different components of grammar of graphics?

1 Answers  


What is procedural programming in r?

1 Answers  


Categories