Re: [R] SmoothTrend in OpenAir

2012-04-19 Thread Clint Bowman
I was able to get the plot by converting the dates in the "date" column to dates, e.g., mytable<-read.csv("MCNP-pH.csv") newdate<-with(mytable,strptime(date,"%m/%d/%Y")) mytable$date<-newdate smoothTrend(mytable, pollutant = "pH") Clint BowmanINTERNET: cl...@ecy.wa.gov

[R] SmoothTrend in OpenAir

2012-04-19 Thread David Doyle
I'm trying to plot smooth trend using smoothTrend in OpenAir but I'm having problems. I used the following code. - #Set my working dir to the dir with my files setwd("c:/R") #Load the openair library library(openair)