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”?
Answer / Santosh Kumar Singh
You can use the strsplit() function in R to split the string. For example: `strsplit("contact@dataflair.com", split = "@")[[1]]` will return `["contact@dataflair", "com"]`
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain how R commands are written?
What are the features of r programming?
Which function is used to create a boxplot graph in R?
Explain how data is aggregated in r?
What is the power analysis?
What is correlation? How would you measure correlation in r?
Why we need data visualization in R?
Write the r programming code for an array of words so that the output is displayed in decreasing frequency order?
What is the use of sink(), Library () and search() function?
What is scan() in r?
Enlist the advantages of using r languages?
How many types of object are present In R?