SERIESPLOTS {nsRFA}R Documentation

Series plots

Description

Plots for time-series investigation.

Usage

 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, ...)

Arguments

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, ...

Value

consistencyplot displays time-series consistency.

Author(s)

Alberto Viglione, e-mail: alviglio@tiscali.it.

See Also

plot, DISTPLOTS

Examples


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()
}

[Package nsRFA version 0.5-2 Index]