Skip to content

Tag Archives: R String-Functions

The strsplit() in R programming language function is used to split the elements of the specified character vector into substrings according to the given substring… Read More
In this article, we are going to see the separation of numbers using a comma in R Programming Language. A comma separator in number will… Read More
In this article we are going to discuss how to format numbers up to n decimal places in the R programming language. In R language,… Read More
Scientific notations in R Programming Language are considered equivalent to the exponential formats. Scientific notations are used for numbers that are extremely large or small… Read More
deparse() function in R Language is used to convert an object of expression class to an object of character class. Syntax: deparse(expr) Parameters: expr: Object… Read More
grepl() function in R Language is used to return the value True if the specified pattern is found in the vector and false if it… Read More
parse() function in R Language is used to convert an object of character class to an object of expression class. Syntax: parse(text = character) Parameters:… Read More
toString() function in R Language is used to convert an object into a single character string. Syntax: toString(x, width) Parameters: x: Object width: maximum string… Read More
format() function in R Programming Language is used to format strings and numbers in a specified style. Syntax: format(x, digits, nsmall, scientific, width, justify =… Read More
as.Date() function in R Language is used to convert a string into date format. Syntax: as.Date(x, format) Parameters: x: string variable format: Format in which… Read More
strftime() function in R Language is used to convert the given date and time objects to their string representation.  Syntax: strftime(time) Parameters: time: specified time object  Example… Read More
is.character() function in R Language is used to check if the object passed to it as argument is of character type. Syntax: is.character(x) Parameters: x:… Read More
bquote() function in R Language is used to quote the arguments passed to it, except the values which are wrapped in ‘.()‘. It evaluates the… Read More
pmatch() function in R Language is used to seek match for the pattern passed as argument. It returns the strings that begin with the pattern… Read More
as.integer() function in R Language is used to convert a character object to integer object. Syntax: as.integer(x) Parameters: x: Character Object Example 1: # R… Read More