## vector of filenames
gimms_files <- c("geo85aug15a.n09-VI3g", "geo85aug15b.n09-VI3g",
"geo85sep15a.n09-VI3g", "geo85sep15b.n09-VI3g",
"geo85oct15a.n09-VI3g", "geo85oct15b.n09-VI3g")
## extract monthly indices
monthlyIndices(gimms_files)
monthlyIndices(gimms_files, timestamp = TRUE, format = "%b %y")
Run the code above in your browser using DataLab