Skip to content

Tag Archives: R Object-Function

intersect() function in R Language is used to find the intersection of two Objects. This function takes two objects like Vectors, dataframes, etc. as arguments… Read More
setdiff() function in R Language is used to find the elements which are in the first Object but not in the second Object. Syntax: setdiff(x,… Read More
setequal() function in R Language is used to check if two objects are equal. This function takes two objects like Vectors, dataframes, etc. as arguments… Read More
is.element() function in R Language is used to check if elements of first Objects are present in second Object or not. It returns TRUE for… Read More
typeof() function in R Language is used to return the types of data used as the arguments. Syntax: typeof(x) Parameters: x: specified data Example 1:… Read More
class() function in R Language is used to return the class of data used as the arguments. Syntax: class(x) Parameters: x: specified data Example 1:… Read More
identical() function in R Language is used to return TRUE when two objects are equal else return FALSE. Syntax: identical(a, b) Parameters: a, b: specified… Read More
optimize() or optimise() function in R Language is used to search the interval from lower to upper for a minimum or maximum of the function… Read More
which() function in R Language is used to return the indices of the object which return true for the logical operation passed as argument. Syntax:… Read More
order() function in R Language is used to sort an object by its index value. These objects can be vector, matrix or data frames. This… Read More
get() function in R Language is used to return an object with the name specified as argument to the function. This is another method of… Read More
cumsum() function in R Language is used to calculate the cumulative sum of the vector passed as argument. Syntax: cumsum(x) Parameters: x: Numeric Object Example… Read More
str() function in R Language is used for compactly displaying the internal structure of a R object. It can display even the internal structure of… Read More
sum() function in R Language is used to return the addition of the values passed as arguments to the function Syntax: sum(…) Parameters: …: numeric… Read More
min() function in R Language is used to find the minimum element present in an object. This object can be a Vector, a list, a… Read More