| SERIESPLOTS {nsRFA} | R Documentation |
Plots for time-series investigation.
serieplot (x, t, lim.x=c(min(x),max(x)), lim.t=c(min(t),max(t)), ...) consistencyplot (t, cod, cex.axis=.8, mark.code=TRUE, ...)
x |
data sample |
t |
vector representing time (e.g. years) of data-samples defined with cod |
lim.x, lim.t |
plot limits |
cod |
array that defines the data subdivision among sites |
cex.axis |
dimensions of points and labels |
mark.code |
if TRUE (default) codes of samples are plotted on y axis |
... |
graphical parameters as xlab, ylab, main, ... |
consistencyplot displays time-series consistency.
Alberto Viglione, e-mail: alviglio@tiscali.it.
data(hydroSIMN)
annualflows[c(1:10),]
x <- annualflows["dato"][,]
y <- annualflows["anno"][,]
cod <- annualflows["cod"][,]
consistencyplot(y,cod)
for (i in unique(cod)) {
serieplot(x[cod==i],y[cod==i],c(0,max(x)),c(min(y),max(y)),xlab="",ylab="D [mm]",main=i)
readline()
}