在R中跨多个月的文件循环

时间:2019-07-10 16:33:52

标签: r loops

我正在尝试仅从11月24日至12月23日之间的多个数据集中提取数据。我无法认出这12个……只是拉11个。我也尝试了此代码的多种变体(引号,无引号等)

#BEGIN CODE UPDATE#
#months to loop over

monthListStr = c(11,12)
monthListNum = as.numeric(monthListStr)

#start and end days for each month, keep order same as in monthListStr#

startDay = c("24","1")
endDay = c("31","23")

0 个答案:

没有答案