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
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)
2 matches
Mail list logo