Comtrade data

Computes the design socioarray of covariate values for an AME fit

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

`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 |

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

Peter Hoff

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.