Describe regex() in r string manipulation?
Answer / Rahul Sajwan
regex() is a function in R used for regular expression matching and replacement. It can be used to find, extract or replace patterns in strings.nExample: `gsub('(.*?)“”, '1”, “data science in r programming”)` will remove all quotes.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is logistic regression?
How do you check if “m” is a matrix data object in R?
Enlist some of the functions that r provides?
Give a brief introduction to an array in R?
What is R Base package?
What is factor variable in r language?
What is the byte in R?
What is the recycling of elements in a vector? Give an example.
What is apply() function in r?
What is the use of abline() function?
What is Preliminaries in R?
What are co-relations in R?