Re: [R] Categorizing by month

2015-03-29 Thread lychang
Thanks for that Ben, I appreciate it a lot. I have another question if you don't mind taking the time to answer it. I want to create a subset from dataset called "datafile5" with only the variables "Date," "PM2.5 mean concentration," "SITE_LONGITUDE," and "SITE_LATITUDE," dating only in September

Re: [R] Categorizing by month

2015-03-27 Thread Ben Tupper
Hi, On Mar 27, 2015, at 12:06 PM, lychang wrote: > Hi everyone, > > I'm trying to categorize by month in R. How can I do this if my dates are in > date/month/year form? > I'm not sure about the date form you describe, but if you have the dates as POSIXct you can extract the month as characte

[R] Categorizing by month

2015-03-27 Thread lychang
Hi everyone, I'm trying to categorize by month in R. How can I do this if my dates are in date/month/year form? Thanks, Lois -- View this message in context: http://r.789695.n4.nabble.com/Categorizing-by-month-tp4705173.html Sent from the R help mailing list archive at Nabble.com. __