SpatialConstant: Creates a spatial constant covariate
Description
This function assigns a const attribute set to "space" to a numeric vector.
Usage
SpatialConstant(x)
Value
The input numeric vector with an additional attribute const set to "space".
Arguments
x
(numeric vector) covariate values for each time-point. Values are used for each location.
Details
A spatial-constant covariate has the form $$\mathbf{x}_t = x_t \mathbf{1}_p,$$ i.e., it has the same value \(x_t\) for all locations at time-point \(t\).