Sub-setting a data frame is similar to sub-setting a Matrix. There are several different options one can use while sub-setting a data frame. in this video we will look at 7 options that are most widely used in sub-setting the data frame. In this video we ill learn:
How to subset data frame using row and column index positions
How to subset data frame using row index positions
How to subset data frame using column index positions
How to subset data frame using logical vector
How to subset data frame using numeric vector
How to subset data frame using conditional operator
How to subset data frame using column names
Some handy functions to explore the data frame such as summary( ) function and dim( ) function are also used in this video.
Link to the video - How to access elements in Matrix
• How to access elements...
About Author
-------------------------------------------------------------------------------------------------------------------------------------------------
My name is Siddharth Sahasrabudhe. I am a founder of Plotly Analytics. I help business professionals learn data science using R programming. All my learning resources are easy to follow, thorough and anyone can follow them regardless of one's professional and educational background.
Find out more about plotly analytics here:
plotlyanalytic...
Connect with me on LinkedIn:
/ siddharth-sahasrabudhe...
Connect with me on Twitter:
x.com/PlotlyAn...
For one-on -one or group trainings in R language, please contact me at:
siddharth.sahasrabudhe@plotlyanalytics.com
Негізгі бет How to access elements from a Data Frame in R?
Пікірлер