Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to name the list after creating the list in R?

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles