magnitude.cusum {ssEDA}R Documentation

Cusum Magnitude Plot

Description

Draws a cusum of event magnitudes over time. The target value is the estimated mean magnitude in the training period.

Usage

magnitude.cusum(events, trainyears=7, at.breaks=NA)

Arguments

events defines the events to be plotted. It is an object of class "subset", generally created by subsetcircle, subsetpolygon, subsetrect or subsetsphere.
trainyears length of the training period in years.
at.breaks positions of labelled tick marks on the third (top) axis. Default is January of each year.

See Also

depth.hist, freq.cusum, freq.magnitude, magnitude.time, epicentres, threeD, timeplot, multigraph

Examples

#    This example requires the NZ catalogue

require(ssNZ)

b <- subsetrect(NZ, minday=julian(1,1,1964), maxday=julian(1,1,1994),
                 mindepth=40, maxdepth=120, minmag=4)

magnitude.cusum(b)

[Package ssEDA version 2.2-1 Index]