How to succinctly name all elements of several lists the same when the lists are nested in an R list?

前端 未结 0 1126
予麋鹿
予麋鹿 2021-01-01 05:25

Sometimes I come across this instance in R:

L <- list()
L[[1]] <- list()
L[[2]] <- list()
L[[1]][[1]] <- 1
L[[1]][[2]] <- 2
L[[2]][[1]] <- 1         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题