Marc Schwartz escribió: > Using just the example data: > > >> table(substr(DF$Var1, 1, 7)) >> > > 1988-01 1988-02 1988-03 > 5 6 1 > This is just what I wanted!
Many thanks Marc! BR Antonio > See ?substr for more information. > > HTH, > > Marc Schwartz > > > > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
