nobs method for class c("spm", "exdex").
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.