📜  如何将数据框设置为列表中的值 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:59.338000             🧑  作者: Mango

代码示例1
mylist <- list()
mylist[[1]] <- mtcars
mylist[[2]] <- data.frame(a = rnorm(50), b = runif(50))
# the key is the [["name"]] that saves all the row (the ["name"] defaults the first)