lin.pred: Linear predictor.

View source: R/spateFcts.R

lin.predR Documentation

Linear predictor.

Description

Calculates the linear predictor.

Usage

lin.pred(x, beta)

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.

Value

Matrix of dimension T x N with linear predictors.

Author(s)

Fabio Sigrist


spate documentation built on Oct. 3, 2023, 5:09 p.m.