Create List of Data Frames in R (Example) | Concatenate Multiple Data Frames | list Function

Published: 22 October 2019
on channel: Statistics Globe
2,503
26

How to create a list of data frames in the R programming language. More details can be found here: https://statisticsglobe.com/create-li...
The R code of this video:


data1 <- data.frame(x1 = 1:3, # Create first example data frame
x2 = letters[1:3])

data2 <- data.frame(y1 = c(5, 1, 5, 1, 5), # Create second example data frame
y2 = rep("a", 5))

my_list <- list(data1, data2) # Create list of data frames
my_list # Print list to RStudio console


On this page of the site you can watch the video online Create List of Data Frames in R (Example) | Concatenate Multiple Data Frames | list Function with a duration of hours minute second in good quality, which was uploaded by the user Statistics Globe 22 October 2019, share the link with friends and acquaintances, this video has already been watched 2,503 times on youtube and it was liked by 26 viewers. Enjoy your viewing!