Learn R Programming

spate (version 1.7.5)

lin.pred: Linear predictor.

Description

Calculates the linear predictor.

Usage

lin.pred(x, beta)

Value

Matrix of dimension T x N with linear predictors.

Arguments

x

Covariates in an array of dimensions p x T X N, where p denotes the number of covariates, T the number of time points, and N the number of spatial points.

beta

Coefficients of covariates in a vector of length p.

Author

Fabio Sigrist