Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotFit

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


Description

Fits an object of class HBSTM

Usage

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

Examples

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

HBSTM

Hierarchical Bayesian Space-Time models for Gaussian space-time data.

v1.0.1
GPL (>= 2.0)
Authors
Pilar Munyoz, Alberto Lopez Moreno
Initial release
2014-1-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.