Re: [R] Attempting to plot two different time series together

2015-11-06 Thread clark richards
[['time']][1] par(mfrow=c(2, 1)) windArrow(met) plot(sealevelTuktoyaktuk, which=1, xlim=range(met[['time']])) > Message: 5 > Date: Thu, 5 Nov 2015 09:00:18 -0600 > From: Ezra Boyd > To: r-help@r-project.org > Subject: [R] Attempting to plot two different tim

Re: [R] Attempting to plot two different time series together

2015-11-06 Thread Ezra Boyd
Jeff -- Thank you for the clarification. Ezra On Fri, Nov 6, 2015 at 10:36 AM, Jeff Newmiller wrote: > Please keep the list in the conversation. > > Yes stacking was my intention, since the graphical presentation does not > need the same time basis. However, your other analyses may indeed req

Re: [R] Attempting to plot two different time series together

2015-11-06 Thread Jeff Newmiller
Please keep the list in the conversation. Yes stacking was my intention, since the graphical presentation does not need the same time basis. However, your other analyses may indeed require that you interpolate or decimate to obtain aligned data records. ---

Re: [R] Attempting to plot two different time series together

2015-11-05 Thread Jeff Newmiller
Seems like you would benefit from reading about long and wide data... perhaps [1]. If I am understanding what you want, ggplot facetting should be able to do what you want. You first have to put the data in long form (e.g. variable, timestamp, value) before you give it to ggplot. If you wa

[R] Attempting to plot two different time series together

2015-11-05 Thread Ezra Boyd
Hello, I am trying to create a plot (I guess two plots) using two different time series datasets, but I'm not sure of the best approach. The data is from a tidal surge due to a hurricane and I would like to show the relationship between stage and windspeed/direction. One dataset is the tidal sta