Rdocumentation
powered by
Learn R Programming
spate (version 1.5)
lin.pred: 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.