beta.func.plot: STARX: spatiotemporal autoregressive model with exogenous...

Description Usage Arguments Value

View source: R/beta.func.plot.R

Description

This function generates sequence of spatial plots of estimated coefficient functions.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
beta.func.plot(
  fitted,
  ngrid.x,
  ngrid.y,
  ngrid.t,
  boundary,
  boundary.t,
  beta.true.ind = TRUE,
  beta.true = NULL,
  coord.ratio = 1
)

Arguments

fitted

Estimated STAR model.

ngrid.x

Number of grid points in x axis.

ngrid.y

Number of grid points in y axis.

ngrid.t

Number of grid points in t axis.

boundary

Boundary of spatial domain.

boundary.t

Boundary of time domain.

beta.true.ind

A logical number incidating whether to draw the true coefficient functions.

beta.true

A list of true coefficient functions.

coord.ratio

Aspect ratio, expressed as y / x.

Value

A list of plots

beta.true.all

A list of length n.X containing sequence of spatial plots of each true coefficient functions.

beta.est.all

A list of length n.X containing sequence of spatial plots of each estiamted coefficient functions.


funstatpackages/STARX documentation built on Jan. 30, 2021, 11:47 p.m.