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 Math-Function
79 articles
R Matrix-Function
65 articles
R Object-Function
54 articles
R DataFrame-Function
54 articles
R String-Functions
39 articles
R List-Function
22 articles
R Factor-Function
12 articles
R Array-Functions
10 articles
R Vector-Function
88 posts
Popular Articles
Recent Articles
Divide the Data into Groups in R Programming - split() function
Last Updated: 30 June 2020
split() function in R Language is used to divide a data vector into groups as defined by the factor provided. Syntax: split(x, f, drop = FAL
...read more
R Language
R DataFrame-Function
R Vector-Function
How to Use na.omit in R?
Last Updated: 28 November 2023
What are missing values?In data analysis, missing values refer to the absence of data for a particular variable or observation. These missin
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R List-Function
Create a Tabular representation of Data in R Programming - table() Function
Last Updated: 19 June 2020
table() function in R Language is used to create a categorical representation of data with variable name and the frequency in the form of a
...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 Math-Function
79+ articles
R Matrix-Function
65+ articles
R Object-Function
54+ articles
R DataFrame-Function
54+ articles
R String-Functions
39+ articles
R List-Function
22+ articles
R Factor-Function
12+ articles
R Array-Functions
10+ articles
Convert a Numeric Object to Character in R Programming - as.character() Function
Last Updated: 16 June 2020
as.character() function in R Language is used to convert a numeric object to character object.Syntax: as.character(x)Parameters:x: Numeric O
...read more
R Language
R Math-Function
R Vector-Function
R String-Functions
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
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R Array-Functions
Calculate Cumulative Sum of a Numeric Object in R Programming - cumsum() Function
Last Updated: 12 April 2022
The cumulative sum can be defined as the sum of a set of numbers as the sum value grows with the sequence of numbers.cumsum() function in R
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
Display the internal Structure of an Object in R Programming - str() Function
Last Updated: 05 June 2020
str() function in R Language is used for compactly displaying the internal structure of a R object. It can display even the internal structu
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
sum() function in R
Last Updated: 22 April 2024
sum() function in R Programming Language returns the addition of the values passed as arguments to the function.Syntax: sum(...)Parameters:.
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
Get or Set names of Elements of an Object in R Programming - names() Function
Last Updated: 05 June 2020
names() function in R Language is used to get or set the name of an Object. This function takes object i.e. vector, matrix or data frame as
...read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R List-Function
Convert a Vector into Factor in R Programming - as.factor() Function
Last Updated: 08 November 2021
as.factor() function in R Programming Language is used to convert the passed object(usually Vector) into a Factor.Syntax: as.factor(object)P
...read more
R Language
R Vector-Function
R Factor-Function
Replace the Elements of a Vector in R Programming - replace() Function
Last Updated: 01 June 2020
replace() function in R Language is used to replace the values in the specified string vector x with indices given in list by those given in
...read more
R Language
R Vector-Function
Getting and Setting Length of the Vectors in R Programming - length() Function
Last Updated: 30 April 2025
In R, the length() function is used to determine the number of elements in a vector. Vectors can be of various types, such as numeric, chara
...read more
R Language
R Vector-Function
R Object-Function
Creating a Vector of sequenced elements in R Programming - seq() Function
Last Updated: 19 December 2023
In This article, we will discuss how we Create a Vector of sequenced elements in R Programming Language using seq() Function.What are sequen
...read more
R Language
R Vector-Function
Calculate the Mean of each Row of an Object in R Programming – rowMeans() Function
Last Updated: 05 June 2020
rowMeans() function in R Language is used to find out the mean of each row of a data frame, matrix, or array.Syntax: rowMeans(data)Parameter
...read more
R Language
R DataFrame-Function
R Math-Function
R Vector-Function
R Object-Function
R Matrix-Function
Combine Vectors, Matrix or Data Frames by Columns in R Language - cbind() Function
Last Updated: 01 June 2020
cbind() function in R Language is used to combine specified Vector, Matrix or Data Frame by columns.Syntax: cbind(x1, x2, ..., deparse.level
...read more
R Language
R DataFrame-Function
R Vector-Function
R Matrix-Function
1
2
3
4
5
6
>>
Last
1
2
3
4
5
6
>>
Last
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 !