"spm"
objectnobs
method for class c("spm", "exdex")
.
# S3 method for spm
nobs(object, maxima = c("sliding", "disjoint"), ...)
and object of class c("spm", "exdex")
returned from
spm
.
A character scalar specifying whether to return the number of observed sliding maxima or disjoint maxima.
Further arguments. None are used.
A numeric scalar: the number of observations used in the fit.