Skip to content

Tag Archives: R Object-Function

is.name() function in R Language is used to return TRUE if the argument is name else returns FALSE. The is.name() and is.symbol() functions are identical.… Read More
as.name() function in R Language is used to coerce the argument to a name. The as.name() and as.symbol() functions are identical. Syntax: as.name(x) Parameters: x:… Read More
mode() function in R Language is used to get or set the type or storage mode of an object. Syntax: mode(x) mode(x) <- value Here… Read More
In R programming, coercion function c() and combine() function are similar to each other but are different in a way. combine() functions acts like c()… Read More
rev() function in R Language is used to return the reverse version of data objects. The data objects can be defined as Vectors, Data Frames… Read More
as.matrix() function in R Language is used to convert an object into a Matrix. Syntax: as.matrix(x) Parameters: x: Object to be converted Example 1: #… Read More
as.vector() function in R Language is used to convert an object into a vector. Syntax: as.vector(x) Parameters: x: Object to be converted Example 1: #… Read More
is.complex() function in R Language is used to check if the object passed to it as argument is of complex data type. Syntax: is.complex(x) Parameters:… Read More
is.numeric() function in R Language is used to check if the object passed to it as argument is of numeric type. Syntax: is.numeric(x) Parameters: x:… Read More
is.integer() function in R Language is used to check if the object passed to it as argument is of integer type. Syntax: is.integer(x) Parameters: x:… 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
as.logical() function in R Language is used to convert an object to logical vector. Syntax: as.logical(x) Parameters: x: Numeric or character object Example 1: #… Read More
unname() function in R Language is used to remove the names or dimnames from an Object. Syntax: unname(x) Parameters: x: Object Example 1: # R… Read More
exists() function in R Language is used to check if an object with the names specified in the argument of the function is defined or… Read More
identity() function in R Language is used to print the value of the object which is passed to it as argument. Syntax: identity(x) Parameters: x:… Read More