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
GfG 160: Daily DSA
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Sign In
▲
Similar Topics
Web Technologies
38.9k+ articles
R Language
2.9k+ articles
R-Statistics
170+ articles
R Functions
90+ articles
R Vector-Function
88 articles
R Math-Function
79 articles
R Matrix-Function
65 articles
R Object-Function
54 articles
R List-Function
22 articles
R Array-Functions
10 articles
R DataFrame-Function
54 posts
Popular Articles
Recent Articles
How to Create Tables in R?
Last Updated: 27 December 2021
In this article, we will discuss how to create tables in R Programming Language.Method 1: Create a table from scratchWe can create a table b
...read more
Picked
R Language
R DataFrame-Function
R Matrix-Function
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
Similar Topics
Web Technologies
38.9k+ articles
R Language
2.9k+ articles
R-Statistics
170+ articles
R Functions
90+ articles
R Vector-Function
88+ articles
R Math-Function
79+ articles
R Matrix-Function
65+ articles
R Object-Function
54+ articles
R List-Function
22+ articles
R Array-Functions
10+ articles
Take Random Samples from a Data Frame in R Programming - sample_n() Function
Last Updated: 19 June 2020
sample_n() function in R Language is used to take random sample specimens from a data frame.Syntax: sample_n(x, n)Parameters:x: Data Framen:
...read more
R Language
R DataFrame-Function
Rename Columns of a Data Frame in R Programming - rename() Function
Last Updated: 02 May 2025
The rename()function inR Programming Languageis used to rename the column names of a data frame, based on the older names.Syntax: rename(x,
...read more
R Language
R DataFrame-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
Convert a Data Frame into a Numeric Matrix in R Programming - data.matrix() Function
Last Updated: 16 June 2020
data.matrix() function in R Language is used to create a matrix by converting all the values of a Data Frame into numeric mode and then bind
...read more
R Language
R DataFrame-Function
R Matrix-Function
Create Subsets of a Data frame in R Programming - subset() Function
Last Updated: 30 April 2025
subset() function inR Programming Languageis used to create subsets of a Data frame. This can also be used to drop columns from a data frame
...read more
R Language
R DataFrame-Function
Check if the Object is a Data Frame in R Programming - is.data.frame() Function
Last Updated: 12 June 2020
is.data.frame() function in R Language is used to return TRUE if the specified data type is a data frame else return FALSE. R data.frame is
...read more
R Language
R DataFrame-Function
Convert an Object to Data Frame in R Programming - as.data.frame() Function
Last Updated: 22 November 2021
as.data.frame() function in R Programming Language is used to convert an object to data frame. These objects can be Vectors, Lists, Matrices
...read more
R Language
R DataFrame-Function
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
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
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
>>
Last
1
2
3
4
>>
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 !