| timeplot {ssEDA} | R Documentation |
Plots a histogram of the number of selected events by time interval, either months or years.
timeplot(events, yearly=TRUE, smoothline=FALSE, ymax=NA)
events |
defines the events to be plotted. It is an object of class "subset", generally created by subsetcircle, subsetpolygon, subsetrect or subsetsphere.
|
yearly |
boolean. Should each bar represent annual TRUE or monthly FALSE counts. Default is TRUE.
|
smoothline |
boolean. Plot a smoothed line over the counts. Default is FALSE. The smoothing is done using the function supsmu which is contained in the package modreg.
|
ymax |
numeric, default is NA. Sets the upper limit of the y axis for the bar plot.
|
depth.hist, freq.cusum,
freq.magnitude, magnitude.cusum,
magnitude.time, epicentres, threeD,
rotation, multigraph
# This example requires the NZ catalogue
require(ssNZ)
b <- subsetrect(NZ, minday=julian(1,1,1961), minmag=4,
minlat=-50, maxlat=-33.5, minlong=165, maxlong=180)
timeplot(b)
title(main=expression(paste("Events in NZ With ", M[L] >= 4)))