filter or subset list by partial object name in R

前端 未结 1 1385
我寻月下人不归
我寻月下人不归 2021-01-20 17:19

I have a list with 417 data frames in it. Each data frame has a separate name in the list beginning with \"Dec 1981\" and ending with \"Aug 2016\". The objects are in chrono

相关标签:
1条回答
  • 2021-01-20 17:53

    We can use grep to match the "Jan" substring in the names of 'SST_list'

    SST_list[grep("Jan", names(SST_list))]  
    
    0 讨论(0)
提交回复
热议问题