Data Frame in R
232 videos • 2,299 views • by Statistics Globe
This playlist explains how to handle data frames in the R programming language.
1
Loop Through Data Frame Columns & Rows in R (4 Examples) | for-, while- & repeat-Loops | Add Values
Statistics Globe
Download
2
How to Convert a Character to Numeric in R | String Vector & Data Frame Column | as.numeric Function
Statistics Globe
Download
3
na.omit Function in R (Example) | Listwise Deletion | Data Frame & Vector | Remove Incomplete Cases
Statistics Globe
Download
4
Append to Data Frame in Loop in R (2 Examples) | Add New Column & Row in for-Loop | Create Variables
Statistics Globe
Download
5
How to Use the $ Operator in R (2 Examples) | Access & Extract Data Frame Column & Element of List
Statistics Globe
Download
6
Calculate Min & Max by Group in R (Example) | Base R, dplyr & data.table | How to Add as New Column
Statistics Globe
Download
7
Cumulative Maxima & Minima in R (4 Examples) | cummax & cummin Functions | tidyr & ggplot2 Packages
Statistics Globe
Download
8
data.frame Function in R (Example) | Change Row Names | Character to Factor | How to Convert Matrix
Statistics Globe
Download
9
is.data.frame & as.data.frame Functions in R (3 Examples) | Convert dplyr Tibble to Data Frame
Statistics Globe
Download
10
str() Function in R (3 Examples) | Compactly Display Structure of Object | Data Frame, List & Vector
Statistics Globe
Download
11
rev Function in R (3 Examples) | Reverse Vector, Data Frame by Column & Row | nrow & apply Functions
Statistics Globe
Download
12
Use Function in Each Row of Data Frame in R (2 Examples) | apply(), by() & nrow() Functions | RowSum
Statistics Globe
Download
13
How to Save a Data Frame in R (Example) | Set Working Directory | setwd(), save() & load() Functions
Statistics Globe
Download
14
Add Minor Tick Marks without Labels to ggplot2 Plot in R (Example) | Modify Axis Ticks & Grid Lines
Statistics Globe
Download
15
head & tail Functions in R (6 Examples) | Data Frame, Vector & List Object | Extract First/Last Rows
Statistics Globe
Download
16
Calculate Min & Max by Group & Add as New Column in R (2 Examples) | Append Variable to Data Frame
Statistics Globe
Download
17
Count Non-NA Values in R (2 Examples) | Vector & Data Frame Columns / Rows | sum & is.na Functions
Statistics Globe
Download
18
Add Characters to Numeric Data Frame Column in R (Example) | How to Apply paste0() & sub() Functions
Statistics Globe
Download
19
Remove All Rows of Data Frame in R (Example) | How to Drop & Delete | Create an Empty Data Matrix
Statistics Globe
Download
20
Count NA Values by Group in R (2 Examples) | Base R & dplyr Package | group_by & summarize Functions
Statistics Globe
Download
21
Count Non-NA Values by Group in R (2 Examples) | Base R & dplyr | group_by() & summarize() Functions
Statistics Globe
Download
22
Remove NA Values in Only One Column of Data Frame in R (Example) | Drop & Omit | is.na() Function
Statistics Globe
Download
23
Calculate Cumulative Sum by Group in R (4 Examples) | dplyr & data.table | ave & aggregate Functions
Statistics Globe
Download
24
Return data.frame Class when Using dplyr Package in R (Example) | Apply as.data.frame() Function
Statistics Globe
Download
25
Replace NA Values by Row Mean in R (Example) | Exchange & Substitute Missings | rowMeans() & is.na()
Statistics Globe
Download
26
Calculate Group Mean & Add as New Column to Data Frame (3 Examples) | dplyr & data.table Packages
Statistics Globe
Download
27
Add New Column to Front of Data Frame (2 Examples) | First Index | data.frame() vs. cbind() Function
Statistics Globe
Download
28
Add Empty Row to Data Frame in R (Example) | nrow() Function | How to Append NA Values in New Line
Statistics Globe
Download
29
Calculate Difference Between Consecutive Data Frame Rows in R (Example) | diff() Subsequent Lines
Statistics Globe
Download
30
Sort Column Based On Other Variable in R (3 Examples) | Order Data Frame Rows | order() & arrange()
Statistics Globe
Download
31
Combine Columns to Remove NA Values (2 Examples) | Base R & dplyr | cbind(), na.omit() & unlist()
Statistics Globe
Download
32
Filter Data Frame Rows Based On Range of Numbers in R (4 Examples) | Extract Subset | dplyr Package
Statistics Globe
Download
33
Remove Rows with Non-Numeric Characters (Example) | Drop & Delete | as.numeric() & is.na() Functions
Statistics Globe
Download
34
Find Character Pattern in Data Frame Column (2 Examples) | Test, Check & Identify | str_detect()
Statistics Globe
Download
35
Create Raster Plot from Data Frame in R (2 Examples) | Convert with rasterFromXYZ of raster Package
Statistics Globe
Download
36
Change Column Names in List of Data Frames in R (Example) | Rename Variables | lapply() & setNames()
Statistics Globe
Download
37
Subset Data Frame within for-Loop in R (Example) | How to Split, Divide & Separate Values by Group
Statistics Globe
Download
38
Avoid Losing Column Names when Adding Rows to Empty Data Frame in R (Example) | Keep Variable Names
Statistics Globe
Download
39
Convert Summary Statistics to Data Frame in R (Example) | summary() Function Output to Data Frame
Statistics Globe
Download
40
Create Data Frame with Column Names in R (4 Examples) | Construct & Make | From Scratch & Matrix
Statistics Globe
Download
41
Create Data Frame from Vectors in R (Example) | How to Construct, Define, Make | data.frame Function
Statistics Globe
Download
42
Create Data Frame from Another Existing Data Set in R (2 Examples) | Column Names & Index Position
Statistics Globe
Download
43
Create Dummy Data Frame in R (Example) | Construct Binary 1/0 Columns | rbinom & matrix Functions
Statistics Globe
Download
44
hasName Function in R (Example) | Apply to Data Frame Column | Check if Variable Name is Contained
Statistics Globe
Download
45
duplicated Function in R (2 Examples) | Determine Duplicate Elements | Vector Object & Data Frame
Statistics Globe
Download
46
Convert Time Series to Data Frame in R (Example) | Transform xts Object | as.data.frame() Function
Statistics Globe
Download
47
Add Variable Labels to Data Frame in R (Example) | Assign Text to Column | Hmisc & labelled Packages
Statistics Globe
Download
48
Log Transformation of Data Frame in R (Example) | Convert All Values & Columns | Apply log Function
Statistics Globe
Download
49
which() Function & Data Frame in R (2 Examples) | Specify Logical Condition | Extract Certain Rows
Statistics Globe
Download
50
Difference Between data.frame & as.data.frame Functions in R (2 Examples) | Create & Convert Data
Statistics Globe
Download
51
Summary Statistics of Data Frame in R (4 Examples) | Calculate Descriptive Metrics | Mean, Max & Sum
Statistics Globe
Download
52
Convert Array to Data Frame in R (Example) | Reshape, Transform Class | as.data.frame.table Function
Statistics Globe
Download
53
Size of Data Frame in R (4 Examples) | Dimension, Length, Number of Rows & Columns | dim() Function
Statistics Globe
Download
54
Delete Data Frame from Workspace (3 Examples) | How ot Drop, Remove, Clear | Single, Multiple or All
Statistics Globe
Download
55
Convert Data Frame to Array in R (Example) | How to Reshape & Transform | Multiple Input Data Frames
Statistics Globe
Download
56
Group Data Frame Rows by Range in R (2 Examples) | Aggregate Interval, Year & Date | dplyr Package
Statistics Globe
Download
57
How to Copy Data Frame to Clipboard in R (Example) | Paste to Excel & TXT File | write_clip Function
Statistics Globe
Download
58
Create Copy of Data Frame in R (2 Examples) | Same & Different Memory Address | tracemem() Function
Statistics Globe
Download
59
Add Empty Column to Data Frame in R (2 Examples) | How to Attach Blank Character Strings & NA Values
Statistics Globe
Download
60
How to Change Classes of Data Frame Columns Automatically in R (Example) | type.convert() Function
Statistics Globe
Download
61
How to Count Occurrences of Value in Data Frame in R (2 Examples) | One Column or Entire Data Frame
Statistics Globe
Download
62
Remove Negative Values from Vector & Data Frame (2 Examples) | Delete Elements or Rows | na.omit()
Statistics Globe
Download
63
Replace Multiple Values in Several Columns of Data Frame in R (2 Examples) | sapply() & replace()
Statistics Globe
Download
64
Update Data Frame with Function (Example) | Assign New Values | Modify & Change Values with Command
Statistics Globe
Download
65
Exclude Specific Predictors from Linear Regression Model in R (Example) | GLM Formula | lm Function
Statistics Globe
Download
66
Get Correlation of One Variable to All Others in R (Example) | Data Frame & Matrix | cor() Function
Statistics Globe
Download
67
Get Column Names of Data Frame in R (2 Examples) | Variable in Matrix | colnames & names Functions
Statistics Globe
Download
68
Replace NA by FALSE in R (Example) | Exchange in Data Frame Column | Base R & dplyr Package | is.na
Statistics Globe
Download
69
Calculate Percentage by Group in R (2 Examples) | Subgroup Probability | group_by & mutate Functions
Statistics Globe
Download
70
Access Attributes of Data Object in R (2 Examples) | Extract Information | attributes() Functions
Statistics Globe
Download
71
Draw Disproportionate Sample from Data Frame in R (Example) | Select with Different Probabilities
Statistics Globe
Download
72
Check if Column is Date in R (Example) | Test Class of Variables in Data Frame | sapply & is.Date
Statistics Globe
Download
73
Remove Columns with Duplicate Names from Data Frame in R (2 Examples) | duplicated() & colnames()
Statistics Globe
Download
74
Replace NA Values in Column by Other Variable in R (Example) | Substitute NAs in Data Frame | is.na
Statistics Globe
Download
75
Create Duplicate of Data Frame Column in R (Example) | Base R vs. mutate() Function of dplyr Package
Statistics Globe
Download
76
Transpose Data Frame & Set First Column as Header in R (Example) | Rotate & Define Variable Names
Statistics Globe
Download
77
Remove Highly Correlated Variables from Data Frame (Example) | cor(), upper.tri(), apply() & any()
Statistics Globe
Download
78
Replace Entire Data Frame Column in R (2 Examples) | Exchange Variable | Substitute by New Values
Statistics Globe
Download
79
Find Non-Numeric Values in R (Example) | Test Vector & Data Frame Column | as.numeric, is.na & which
Statistics Globe
Download
80
Calculate Product of Vector & Data Frame in R (Example) | Rows & Columns | Multiply All Elements
Statistics Globe
Download
81
Generate Matrix with i.i.d. Normal Random Variables in R (2 Examples) | matrix() & rnorm() Functions
Statistics Globe
Download
82
R Error – Undefined Columns Selected when Subsetting Data Frame | How to Extract a Data Frame Subset
Statistics Globe
Download
83
Change Letter Case of Column Names in R (2 Examples) | Upper & Lower | names(), toupper(), tolower()
Statistics Globe
Download
84
Standard Deviation by Row (Example) | Calculate SD Across Rows | apply & cbind Functions & NA Values
Statistics Globe
Download
85
Remove Rows with NaN Values in R (3 Examples) | Drop, Delete & Select | na.omit() & complete.cases()
Statistics Globe
Download
86
Standard Deviation in R (3 Examples) | Apply sd() Function in RStudio | Handle NA Values & Real Data
Statistics Globe
Download
87
Assign Unique ID for Each Group in R (3 Examples) | Create & Add | Using dplyr & data.table Packages
Statistics Globe
Download
88
sort, order & rank R Functions | Vector, Data Frame & List | is.unsorted, sort.list, sort.int, xtfrm
Statistics Globe
Download
89
Group Data Frame by Multiple Columns in R (Example) | group_by & summarize Variable | dplyr Package
Statistics Globe
Download
90
How to Split a Date-Time Column into Separate Variables in R (Example) | as.Date, format, as.POSIXct
Statistics Globe
Download
91
unique Function in R (2 Examples) | Remove Duplicate Data Frame Rows | Keep Distinct Vector Elements
Statistics Globe
Download
92
summary Function in R (3 Examples) | Descriptive Statistics of Vector, Data Frame & Regression Model
Statistics Globe
Download
93
Convert Categorical Variable to Numeric in R (Example) | Vector & Column | sapply & unclass Function
Statistics Globe
Download
94
which Function in R (5 Examples) | How to Apply to Vector & Data Frame | Logical Operator & length()
Statistics Globe
Download
95
Select Odd & Even Rows & Columns from Data Frame in R (4 Examples) | seq_len, nrow & ncol Functions
Statistics Globe
Download
96
Change Index Numbers of Data Frame Rows (R Example) | Set Order & Reset | rownames & nrow Function
Statistics Globe
Download
97
R Error: $-Operator is Invalid for Atomic Vectors (Example) | How to Fix | is.atomic & is.recursive
Statistics Globe
Download
98
Convert Nested Lists to Data Frame or Matrix in R (Example) | Apply do.call, cbind & rbind Functions
Statistics Globe
Download
99
stringsAsFactors Argument of data frame Function in R (2 Examples) | Set Character & Factor Class
Statistics Globe
Download
100
Select Second to Last Columns of Data Frame in R (2 Examples) | Remove & Extract First Variable Name
Statistics Globe
Download
101
Find Common Rows Between Two Data Frames in R | Identify Duplicates | intersect & inner_join [dplyr]
Statistics Globe
Download
102
Select Last Column of Data Frame in R (2 Examples) | Refer to & Extract Final Variable | ncol & drop
Statistics Globe
Download
103
Create Data Frame of Unequal Lengths in R (Example) | Different Column Size | max, c, length & rep
Statistics Globe
Download
104
Remove All Whitespace in Each Data Frame Column in R (2 Examples) | apply & str_remove_all [stringr]
Statistics Globe
Download
105
Create Data Frame with Spaces in Column Names in R (Example) | Keep Blanks & Retain Empty Variable
Statistics Globe
Download
106
Replace Spaces in Column Names in R (2 Examples) | Blanks in Data Frame Variables | gsub, make.names
Statistics Globe
Download
107
rbind Data Frames by Column Index in R (Example) | Ignore Variable Names | setNames & names Function
Statistics Globe
Download
108
Divide Each Row of Matrix & Data Frame by Vector Element in R (Example) | t & as.data.frame Function
Statistics Globe
Download
109
Extract Data Frame Rows that do not Match Logical Condition in R (Example) | Filter, Select & Subset
Statistics Globe
Download
110
Get All Factor Levels of Vector & Data Frame Column in R (2 Examples) | factor(), levels(), sapply()
Statistics Globe
Download
111
Extract & Count Unique Values in Each Column of Data Frame in R (Example) | lapply, rapply & length
Statistics Globe
Download
112
Check If Two Data Frames are the Same in R (Example) | Test for Identical / Equal Values in Matrix
Statistics Globe
Download
113
Create Lagged Variable by Group in R (Example) | Lag Column to Data Frame | group_by, mutate [dplyr]
Statistics Globe
Download
114
Move Column to First Position of Data Frame in R (2 Examples) | Shift to Beginning | dplyr Package
Statistics Globe
Download
115
Remove Last N Rows from Data Frame in R (Example) | Delete Bottom | head, slice & n of dplyr Package
Statistics Globe
Download
116
Extract Single Column as Data Frame in R (3 Examples) | How to Keep data.frame Class | drop Argument
Statistics Globe
Download
117
Set Row & Column Names of Data Frame with Unknown Dimension in R (Example) | nrow, paste0 & ncol
Statistics Globe
Download
118
Add Prefix to Column Names in R (Example) | Affix Before Variable of Data Frame | paste0() Function
Statistics Globe
Download
119
Count Non-Zero Values in Vector & Data Frame Columns in R (2 Examples) | sum() & colSums() Functions
Statistics Globe
Download
120
Split Data Frame into Custom Bins in R (Example) | Divide & Subset | cut, nrow & length | for-Loop
Statistics Globe
Download
121
Add New Variable to Data Frame Based On Other Columns in R (2 Examples) | $ Operator | transform()
Statistics Globe
Download
122
Set NA to Blank in R (2 Examples) | Replace Missing Values in Vector & Data Frame | sapply Function
Statistics Globe
Download
123
Create Categories Based On Integer & Numeric Range in R (2 Examples) | Convert Data to Factor Class
Statistics Globe
Download
124
R Select Top N Highest Values by Group (Example) | Extract Head | Reduce, rbind, dplyr & data.table
Statistics Globe
Download
125
Subset Data Frame Rows Based On Factor Levels in R (Example) | Select & Extract | Logical Condition
Statistics Globe
Download
126
Replace Values in Factor Vector or Column in R (Example) | as.character, as.factor & levels Function
Statistics Globe
Download
127
Find Max & Min Length of Character Strings in Columns in R (4 Examples) | nchar, apply, max & min
Statistics Globe
Download
128
Add Row to Empty Data Frame in R (Example) | Append New Rows | Insert at Specific Index Position
Statistics Globe
Download
129
Convert Data Frame Columns to List Elements in R (2 Examples) | Adapt One / Each Variable | colnames
Statistics Globe
Download
130
Cumulative Frequency and Probability Table in R (Examples) | Count & Sum | table & cumsum Functions
Statistics Globe
Download
131
Divide One Column of Data Frame Through Another in R (2 Examples) | Append New Variable with Results
Statistics Globe
Download
132
Extract Single Element from Data Frame in R | Access Specific Position | Row Index & Variable Name
Statistics Globe
Download
133
Return Data Frame Row Based On Value in Column in R (Example) | Extract Certain Rows Conditionally
Statistics Globe
Download
134
Assign Column Names Based On Existing Row in R | Convert First Line to Data Frame Header | colnames
Statistics Globe
Download
135
Print First or Last Rows of Data Frame in R (4 Examples) | head() & tail() Functions | Top & Bottom
Statistics Globe
Download
136
Subset Data Frame & Matrix by Row Names in R (Example) | Select & Extract | rownames & %in% Operator
Statistics Globe
Download
137
Remove NA Values from ggplot2 Plot in R (Example) | Delete Missing Data | complete.cases() Function
Statistics Globe
Download
138
Create Data Frame with n Rows & m Columns in R (Example) | Specify Dimensions | matrix, nrow & ncol
Statistics Globe
Download
139
Modify Numbers with Comma as Thousand Separator in R (2 Examples) | gsub(), lapply() & as.numeric()
Statistics Globe
Download
140
R Order Data Frame Rows According to Vector (Example) | Sort & Rearrange | match & left_join [dplyr]
Statistics Globe
Download
141
Draw ggplot2 Plot of Data Frame Subset in R | Graphic of Particular Rows | subset() & %in% Operator
Statistics Globe
Download
142
Substitute Data Frame Row Names by Values in Vector & Column in R (2 Examples) | rownames() Function
Statistics Globe
Download
143
Select Data Frame Columns by Logical Condition in R (Example) | grepl, select & starts_with of dplyr
Statistics Globe
Download
144
R Replace NA Values by Column Mean (Example) | Missing Data Imputation | Substitute Variable Average
Statistics Globe
Download
145
Order Data Frame by Date in R (Example) | Sort Rows of Table / Matrix | as.Date & class Functions
Statistics Globe
Download
146
List All Column Names But One in R (2 Examples) | Remove Certain Variable in Data Frame | colnames()
Statistics Globe
Download
147
Count Observations by Factor Level in R | Get Frequency of Categories | dplyr & data.table Packages
Statistics Globe
Download
148
Correlation Matrix Only for Numeric Columns in R (2 Examples) | Error in cor(data) | unlist & lapply
Statistics Globe
Download
149
Combine Two Vectors into Data Frame or Matrix in R (2 Examples) | data.frame & cbind Functions
Statistics Globe
Download
150
Export Multiple Data Frames to Different Excel Worksheets in R (2 Examples) | write.xlsx2 & for-Loop
Statistics Globe
Download
151
Convert Data Frame to Matrix in R (2 Examples) | Numeric & Character Matrices | as.matrix & apply
Statistics Globe
Download
152
Create Data Frame Row by Row in R (2 Examples) | Successively Add Observations | List, Index & Loop
Statistics Globe
Download
153
Convert Matrix to Data Frame in R (2 Examples) | Change to data.frame Class | as.data.frame Function
Statistics Globe
Download
154
Remove Rows with NA Using dplyr Package in R (3 Examples) | na.omit, filter, complete.cases Function
Statistics Globe
Download
155
Select Data Frame Rows where Column Values are in Range | Using Square Brackets & subset Function
Statistics Globe
Download
156
Replace Value of Data Frame Variable Using dplyr Package in R (Example) | mutate & replace Functions
Statistics Globe
Download
157
Apply Unique Function to Multiple Columns of Data Frame in R | Using unique & duplicated Functions
Statistics Globe
Download
158
Remove Rows with Any Zero in R (Example) | How to Delete Row with 0 | Using apply & all Functions
Statistics Globe
Download
159
Do Not Display Data Frame Row Names in R | Remove Name | Using print Function & row.names Argument
Statistics Globe
Download
160
Row Indices where Column has Particular Value in R (2 Examples) | Data Frame Subset | which Function
Statistics Globe
Download
161
Change Row Names of Data Frame or Matrix in R (4 Examples) | row.names, data.frame & matrix Function
Statistics Globe
Download
162
Add Index ID to Data Frame in R (3 Examples) | Create Numeric Identifier Using cbind, nrow & mutate
Statistics Globe
Download
163
R Sums of Rows & Columns in Data Frame or Matrix (Examples) | rowSums & colSums Functions in RStudio
Statistics Globe
Download
164
Merge Data Frames by Two ID Columns in R (2 Examples) | merge() vs. join() Function of dplyr Package
Statistics Globe
Download
165
Combine Two Data Frames with Different Variables by Rows in R (Example) | bind_rows Function [dplyr]
Statistics Globe
Download
166
Get Row Index Number in R (Example) | Find & Return Data Frame Indices | rownames & which Functions
Statistics Globe
Download
167
R Find Rows in First Data Frame that are not in Second (Example) | setdiff Function of dplyr Package
Statistics Globe
Download
168
Get Sum of Data Frame Column Values in R (2 Examples) | Calculate Variable Sums | sum() & colSums()
Statistics Globe
Download
169
Remove Data Frame Columns by Name in R (6 Examples) | Drop Variable | subset, within, select & setDT
Statistics Globe
Download
170
Add New Row at Specific Index Position to Data Frame in R (Example) | rbind & rownames Functions
Statistics Globe
Download
171
R Convert Factor to Character Class (3 Examples) | Change Vector & Data Frame Column | as.character
Statistics Globe
Download
172
Combine Two ggplot2 Plots from Different Data Frames in R (Example) | Draw Graph of Multiple Sources
Statistics Globe
Download
173
R Convert Named Vector to Data Frame (Example) | Change Array Class | data.frame & as.list Functions
Statistics Globe
Download
174
R Replace Values in Data Frame Conditionally (4 Examples) | Exchange Value in Column & Entire Matrix
Statistics Globe
Download
175
R Sort Variables of Data Frame by Column Names (2 Examples) | Order Alphabetically | Base vs. dplyr
Statistics Globe
Download
176
Remove Empty Rows of Data Frame in R (2 Examples) | apply, all, rowSums, is.na & ncol Functions
Statistics Globe
Download
177
Insert New Column Between Two Data Frame Variables in R (2 Examples) | add_column Function of tibble
Statistics Globe
Download
178
Plot All Columns of Data Frame in R (3 Examples) | Base R vs. ggplot2 | How to Draw Each Variable
Statistics Globe
Download
179
R Randomly Reorder Data Frame by Row & Column / Variable (Examples) | sample, nrow & ncol Functions
Statistics Globe
Download
180
Export Nicely-Formatted Data Frame in R (2 Examples) | Print Table or Matrix as PDF or txt File
Statistics Globe
Download
181
Convert Values in Column into Row Names of Data Frame in R (Example) | Variable & row.names Function
Statistics Globe
Download
182
R Select Data Frame Column Using Character Vector (Example) | $-Operator vs. [,] | Extract Variable
Statistics Globe
Download
183
Select Row with Maximum or Minimum Value in Each Group in R (Example) | dplyr vs. data.table Package
Statistics Globe
Download
184
Check if Column Exists in Data Frame in R (Example) | Find Variable Name in Data Table or Matrix
Statistics Globe
Download
185
R Replace Inf with NA in Vector & Data Frame (Example) | Clean Infinite Value | is.infinite Function
Statistics Globe
Download
186
R Convert Data Frame Row to Vector (Example) | Extract Row as Array | Subset & as.numeric Function
Statistics Globe
Download
187
Count Number of Cases in Each Group of Data Frame in R (Example) | nrow, aggregate & length Function
Statistics Globe
Download
188
Transpose Data Frame in R (Example) | Rotate Matrix & Table with t Function | Numeric Row & Column
Statistics Globe
Download
189
Convert Row Names into Data Frame Column in R (3 Examples) | row.names Function, dplyr & data.table
Statistics Globe
Download
190
R Split Data Frame Variable into Multiple Columns (3 Examples) | Separate String | stringr vs. tidyr
Statistics Globe
Download
191
Extract First N Rows of Data Frame in R (3 Examples) | Select & Subset with head Function & [ , ]
Statistics Globe
Download
192
Conditionally Remove Row from Data Frame in R (3 Examples) | How to Delete Rows of Matrix or Table
Statistics Globe
Download
193
Extract Row from Data Frame in R (2 Examples) | Subset One or Multiple Rows of Table / Matrix
Statistics Globe
Download
194
Add New Row to Data Frame in R (2 Examples) | How to Append a Vector to a Matrix | rbind Function
Statistics Globe
Download
195
Replace Particular Value in Data Frame in R (2 Examples) | Change Certain Values in Variable/Column
Statistics Globe
Download
196
Convert Data Frame Rows to List in R (Example) | Save Each Row as List Element | split, seq & nrow
Statistics Globe
Download
197
Add Column to Data Frame in R (3 Examples) | Append Vector as New Variable to Table | cbind Function
Statistics Globe
Download
198
Apply Function to Every Row of Data Using dplyr Package in R | rowwise & mutate Functions Explained
Statistics Globe
Download
199
Remove All-NA Columns from Data Frame in R (Example) | Drop Variables with Only Not Available Values
Statistics Globe
Download
200
Apply Function to Every Row of Data Frame or Matrix in R (Example) | apply() Command Explained
Statistics Globe
Download