design_array: Computes the design socioarray of covariate values

Description Usage Arguments Value Author(s)

View source: R/design_array.R

Description

Computes the design socioarray of covariate values for an AME fit

Usage

1
design_array(Xrow=NULL,Xcol=NULL,Xdyad=NULL,intercept=TRUE,n)

Arguments

Xrow

an n x pr matrix of row covariates

Xcol

an n x pc matrix of column covariates

Xdyad

an n x n x pd array of dyadic covariates

intercept

logical

n

number of rows/columns

Value

an n x n x (pr+pc+pd+intercept) 3-way array

Author(s)

Peter Hoff


amen documentation built on May 25, 2017, 1:02 a.m.

Search within the amen package
Search all R packages, documentation and source code