@harry wrote:
I am currently studying the list in R .I have created a list using three different type of objects one is a vector , the second is a matrix and the last one is a data frame.
my_vector <- 1:10 my_matrix <- matrix(1:9, ncol = 3) my_df <- mtcars[1:10,] my_list <- list(my_vector, my_matrix, my_df)
I want to know is there a way by which I can name my list components after creating my list.
Posts: 2
Participants: 2