How to use the $ operator in the R programming language. More details: https://statisticsglobe.com/meaning-o...
R code of this video:
data <- data.frame(x1 = 1:5, # Create example data
x2 = letters[1:5],
x3 = 9)
data # Print example data
data$x2 # Extract column of data
my_list <- list(A = 1:5, # Create example list
B = letters[1:5],
C = 9)
my_list # Print example list
my_list$B # Extract element of list
Follow me on Social Media:
Facebook – Statistics Globe Page: / statisticsglobecom
Facebook – R Programming Group for Discussions & Questions: / statisticsglobe
Facebook – Python Programming Group for Discussions & Questions: / statisticsglobepython
LinkedIn – Statistics Globe Page: / statisticsglobe
LinkedIn – R Programming Group for Discussions & Questions: / 12555223
LinkedIn – Python Programming Group for Discussions & Questions: / 12673534
Twitter: / joachimschork
Music by bensound.com
Watch video How to Use the $ Operator in R (2 Examples) | Access & Extract Data Frame Column & Element of List online without registration, duration hours minute second in high quality. This video was added by user Statistics Globe 09 April 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 562 once and liked it 13 people.