Xbeta: Linear combinations of submatrices of an array

View source: R/Xbeta.R

XbetaR Documentation

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)

Arguments

X

an n by n by p array

beta

a p by 1 vector

Value

An n by n matrix

Author(s)

Peter Hoff


amen documentation built on May 29, 2024, 9:58 a.m.