Stacks the row, column and dyadic covariates into a single \(n \times n \times p\) array in which slice \(k\) holds the dyad-level values of the \(k\)th predictor. A sender attribute is broadcast down the rows, a receiver attribute is broadcast across the columns, and a dyadic covariate is copied verbatim. An intercept slice of ones is prepended unless it is switched off or would duplicate an already-constant predictor.
design_array(Xrow=NULL,Xcol=NULL,Xdyad=NULL,intercept=TRUE,n,warn=TRUE)an n x n x (pr+pc+pd+intercept) 3-way array
an n x pr matrix of row (sender) covariates
an n x pc matrix of column (receiver) covariates
an n x n x pd array of dyadic covariates
logical; prepend a constant slice of ones
number of rows/columns
logical; warn when missing covariate values are zero-filled
(default TRUE). Set FALSE when the caller has already
propagated the missingness into the response.
lame authors