Learn R Programming

amen (version 1.4.5)

Xbeta: Linear combinations of submatrices of an array

Description

Computes a matrix of expected values based on an array X of predictors and a vector beta of regression coefficients.

Usage

Xbeta(X, beta)

Value

An n by n matrix

Arguments

X

an n by n by p array

beta

a p by 1 vector

Author

Peter Hoff