Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
R Language
3.0K+ articles
R Vector-Function
88+ articles
R Math-Function
79+ articles
R Matrix-Function
65+ articles
R Object-Function
54+ articles
R DataFrame-Function
54+ articles
R List-Function
22+ articles
R Factor-Function
12+ articles
R Array-Functions
10 posts
Recent Articles
Popular Articles
Apply a Function over a Ragged Array in R Programming - tapply() Function
Last Updated: 19 June 2020
tapply() function in R Language is used to apply a function over a subset of vectors given by a combination of factorsSyntax: tapply(vector, factor, fun) Parameters:vector...
read more
R Language
R Vector-Function
R Array-Functions
R Factor-Function
Convert values of an Object to Logical Vector in R Programming - as.logical() Function
Last Updated: 08 November 2021
as.logical() function in R Language is used to convert an object to a logical vector.Syntax: as.logical(x)Parameters: x: Numeric or character objectR - as.logical() Functi...
read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R Array-Functions
R List-Function
Intersection of Two Objects in R Programming - intersect() Function
Last Updated: 24 November 2023
In this article, we will discuss how we do the Intersection of Two Objects in R Programming Language using the intersect() function.What is the intersect() Function?inters...
read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R Array-Functions
Get Exclusive Elements between Two Objects in R Programming - setdiff() Function
Last Updated: 27 October 2021
setdiff() function in R Programming Language is used to find the elements which are in the first Object but not in the second Object.Syntax: setdiff(x, y)Parameters: x and...
read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R Array-Functions
Check if Two Objects are Equal in R Programming - setequal() Function
Last Updated: 15 June 2020
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 and results in TRU...
read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R Array-Functions
Check for Presence of Common Elements between Objects in R Programming - is.element() Function
Last Updated: 15 June 2020
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 each equal value.Syntax: is.elem...
read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R Array-Functions
Return True Indices of a Logical Object in R Programming - which() Function
Last Updated: 08 June 2020
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: which(x, arr.ind)Paramete...
read more
R Language
R Vector-Function
R Object-Function
R Matrix-Function
R Array-Functions
Get Indices of Specified Values of an Array in R Programming - arrayInd() Function
Last Updated: 08 June 2020
arrayInd() function in R Language is used to get the indices of the values passed to the function as argument. This function takes values and the array in which the values...
read more
R Language
R Array-Functions
Perform Operations over Margins of an Array or Matrix in R Programming - apply() Function
Last Updated: 04 June 2020
apply() function in R Language is used to perform mathematical operations across elements of an array or a matrix.Syntax: apply(x, margin, func)Parameters:x: Array or matr...
read more
R Language
R Matrix-Function
R Array-Functions
Outer() Function in R
Last Updated: 18 April 2025
A flexible tool for working with matrices and vectors in R is the outer() function. It enables you to create a new matrix or array by applying a function to every conceiva...
read more
R Language
R Math-Function
R Array-Functions
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !