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 |
What is s4 generic?
What is JIT package?
R programming language has several packages for data science which are meant to solve a specific problem, how do you decide which one to use?
Mention how you can produce co-relations and covariances?
What are Ensemble Models in R?
How can you simulate random walk model using r?
Write a custom function which will replace all the missing values in a vector with the mean of values.
What is the difference between the library() and require() functions in R language?
Which data object in r is used to store and process categorical data?
What is a factor?
What is recursion in r?
I have a string “contact@dataflair.com”. Which string function can be used to split the string into two different strings “contact@dataflair” and “com”?