Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
R Language
2.8k+ articles
R Functions
90+ articles
R Vector-Function
88 articles
R Math-Function
79 articles
R Matrix-Function
65 articles
R DataFrame-Function
54 articles
R String-Functions
39 articles
R List-Function
22 articles
R Array-Functions
10 articles
R Data-types
10 articles
R Object-Function
54 posts
Popular Articles
Recent Articles
Get Summary of Results produced by Functions in R Programming - summary() Function
Last Updated: 23 June 2020
summary() function in R Language is a generic function used to produce result summaries of the results of various model fitting functions.Sy
...read more
R Language
R Functions
R Object-Function
Convert an Object to a Table in R Programming - as.table() Function
Last Updated: 19 June 2020
as.table() function in R Language is used to convert an object into a table.Syntax: as.table(x)Parameters:x: Object to be convertedExample 1
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R List-Function
Applying a Function over an Object in R Programming - sapply() Function
Last Updated: 19 June 2020
sapply() function in R Language takes list, vector or data frame as input and gives output in vector or matrix. It is useful for operations
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R List-Function
Similar Topics
R Language
2.8k+ articles
R Functions
90+ articles
R Vector-Function
88+ articles
R Math-Function
79+ articles
R Matrix-Function
65+ articles
R DataFrame-Function
54+ articles
R String-Functions
39+ articles
R List-Function
22+ articles
R Array-Functions
10+ articles
R Data-types
10+ articles
R Program to reverse a number - rev() Function
Last Updated: 20 December 2023
In this article, we will discuss how to reverse a number in R Programming Language. To reverse a number we will use in built method in R.In
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R List-Function
Convert an Object into a Matrix in R Programming - as.matrix() Function
Last Updated: 30 April 2025
The as.matrix() functionwithinRconvertsobjectsofvariousclassesinto a matrix. Thiscanbehelpfultoworkwithstructures ofvariousdatathat can be c
...read more
R Language
R Object-Function
R Matrix-Function
Convert an Object into a Vector in R Programming - as.vector() Function
Last Updated: 17 June 2020
as.vector() function in R Language is used to convert an object into a vector.Syntax: as.vector(x)Parameters:x: Object to be convertedExampl
...read more
R Language
R Vector-Function
R Object-Function
Check if an Object is of Type Numeric in R Programming - is.numeric() Function
Last Updated: 16 June 2020
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)Paramete
...read more
R Language
R Math-Function
R Vector-Function
R Object-Function
R Matrix-Function
R List-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 charact
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R Array-Functions
R List-Function
Check if an Object of the Specified Name is Defined or not in R Programming - exists() Function
Last Updated: 17 April 2025
exists() function in R Programming Language is used to check if an object with the names specified in the argument of the function is define
...read more
R Language
R Vector-Function
R Object-Function
R Matrix-Function
R List-Function
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:
...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 e
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R Array-Functions
Getting type of different data types in R Programming - typeof() Function
Last Updated: 12 June 2020
typeof() function in R Language is used to return the types of data used as the arguments.Syntax: typeof(x)Parameters:x: specified dataExamp
...read more
R Language
R Data-types
R Object-Function
Search and Return an Object with the specified name in R Programming - get() Function
Last Updated: 05 June 2020
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 prin
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
Get the Minimum element of an Object in R Programming - min() Function
Last Updated: 05 June 2020
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 matrix, a data
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
Get the Maximum element of an Object in R Programming - max() Function
Last Updated: 05 June 2020
max() function in R Language is used to find the maximum element present in an object. This object can be a Vector, a list, a matrix, a data
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
First
1
2
3
4
>>
Last
First
1
2
3
4
>>
Last
First
1
2
3
4
>>
Last
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 !