Describe substr() in r string manipulation?
Answer / Reeturaj Pandey
substr() is a function in R used for extracting substrings from characters. The syntax is substr(string, start, stop). It returns the part of the string starting from 'start' and ending before 'stop', both indexes being 1-based.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are statistical software and data analysis in r?
What are packages in r?
How to create the s3 class?
How would you fit a linear model over a scatter-plot?
What is expected from running the command – strsplit(x,”e”)?
How would you measure correlation in r?
What is the of use Matrix package?
In r how missing values are represented?
What is the use of subset() function and sample() function in R ?
Give examples of “select” and “filter” functions from “dplyr” package.
Which packages are used to store and restore R objects to and from a file in R language?
Explain advantages of density-based clustering in R?