plot.hreg: Plot Diagnostics for "hreg" Object

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Four plots of dignostic checks are available to check the adequacy of the fitted four parameter harmonic regression model.

Usage

1
2
## S3 method for class 'hreg'
plot(x, type = c("fit", "pg", "acf", "nplot"), ...)

Arguments

x

S3 class "hreg" object.

type

Type of diagnostic plot - see details.

...

Other parameters to be passed through to predicting functions.

Details

The diagnostic plot types are: "fit", "pg", "acf", "nplot", "cp", "rf" corresponding to fitted model and data, periodogram, autocorrelation, normal probability plot, cumulative periodogram test, residual-fit spread plot.

Value

No value is returned. Plots are produced as side-effect.

Author(s)

A.I. McLeod and Yuanhao Lai.

See Also

hreg.

Examples

1
2
3
ans <- hreg(nottem)
plot(ans)
                                                       

CliffordLai/harper documentation built on May 8, 2019, 1:53 p.m.