Plot the spatial data, estimation and residuals of an object of class HBSTM

Description

Fits an object of class HBSTM

Usage

1
	plotFit(object,time,values)

Arguments

object

An object of class "HBSTM".

time

A integer indicating the time data to show in the spatial grid. By default, it is the last temporal observation.

values

A "logical" indicating whether the function returns the values shown in the plot.

Value

By default, plotFit returns an object of class "NULL". If the attribute matrices is TRUE, plotFit returns a "data.frame" with three variables:

"Zt"

: The data in a fixed temporal observation specified by the attribute codetime.

"EstZt"

: The data estimation in a fixed temporal observation specified by the attribute codetime.

"Et"

: The residuals extracted from "Zt" and "EstZt".

Author(s)

Pilar Munyoz and Alberto Lopez Moreno

See Also

Overview: HBSTM-package
Classes : HBSTM,Parameters,Mu,Mt,Xt,Autoregressive,Seas,SpatParam,VectSubdiag, Hyperpriors,Mu0,Mt0,Xt0,Seas0,Autoregressive0,SpatParam0,VectSubdiag0
Methods : hbstm,hbstm.fit,results,estimation,resid,mse
Plot : plotRes,plotFit
Data: hirlam,coordinates

Examples

1
## See 'tutorial.pdf', included in the documentation of the package, to see a full example