Displaying 3 results from an estimated 3 matches for "timeserie2".
Did you mean:
timeseries
2005 Feb 09
1
Plotting: Plot several axis at right hand side of the plot
...r but don't
know how to add extra axes on the right hand side of the plot (or leftside).
For the first two time series it axis are plotted but the last two time
series don't have and axis. How can these be added and where?
e.g.
par(mfrow=c(1,1))
plot(timeserie1)
par(new=T)
plot(timeserie2, type="b", col=3,yaxt="n", ylab="" )
axis(4)
mtext(side=4, line=2, "NDVI")
par(new=T)
plot(timeserie3, type="h", col=2,yaxt="n", ylab="")
par(new=T)
plot(timeserie4, type="b", col=4,yaxt="n&...
2004 Mar 04
1
Lineair regression modelling between time series //correlation analysis
Dear R specialists,
I'm working with time series and want to investigate the relationship
between two time series by correlation analysis or by fitting a gen.
lineair model to the plot of x(timeserie1) and y(timeserie2).
Lin1 <- data.frame(
Nr = c(1:lengte),
NDII = window(ts.mNDII,c(1998,10),c(2003,11)),
InvERC = window(Inv.ERC,c(1998,10),c(2003,11))
)
summary(glm(NDII ~ InvERC, data=Lin1, family=gaussian(link ="identity")))
Error in "storage.mode<-"(`*...
2004 Mar 24
0
High/low level: Plot 2 time series with different axis (left and ri ght)
...4, Jan Verbesselt wrote:
> Dear R specialists,
>
> I have two time series in a data.frame and want to plot them in the same
> plot(), with the left axis scaled to time series 1 (-700,0) and the
> right axis scaled to time series 2 (-0.2, 0.4).
>
> plot(timeserie1)
> lines(timeserie2, col=c(2)) => this one should be scaled differently
> with a new axis on the right handside.
>
> How can these be visualised such that the fit is optimal for
> visualisation of the two time series? Which commands can I use?
I have composed a simple R function to do this. See usage...