Learn R Programming

spate (version 1.7.5)

plot.spateSim: Plotting function for 'spateSim' objects.

Description

This is the plotting function for 'spateSim' objects. It calles the function 'spate.plot()'.

Usage

# S3 method for spateSim
plot(x,..., plotXi =TRUE,plotW = FALSE)

Value

Plots illustrating the simulated space-time field.

Arguments

x

'spateSim' object obtained from 'spate.sim'.

...

Arguments to be passed to 'spate.plot'

plotXi

Logical; if 'TRUE' the latent process 'xi' is plotted.

plotW

Logical; if 'TRUE' the observed process 'w' is plotted.

Author

Fabio Sigrist

Examples

Run this code
spateSim <-spate.sim(par=c(rho0=0.1,sigma2=0.2,zeta=0.5,rho1=0.1,gamma=2,
                     alpha=pi/4,muX=0.2,muY=-0.2,tau2=0.01),n=50,T=9)
plot(spateSim)

Run the code above in your browser using DataLab