Description Usage Arguments Value Author(s)

View source: R/rbeta_ab_rep_fc.R

Simulates from the joint full conditional distribution of (a,b,beta), assuming same additive row and column effects and regression coefficient across replicates.

1 | ```
rbeta_ab_rep_fc(Z.T,Sab,rho,X.T,s2=1)
``` |

`Z.T` |
n x n x T array, with the third dimension for replicates. Each slice of the array is a (latent) normal relational matrix, with multiplicative effects subtracted out |

`Sab` |
row and column covariance |

`rho` |
dyadic correlation |

`X.T` |
n x n x p x T covariate array |

`s2` |
dyadic variance |

`beta` |
regression coefficients |

`a` |
additive row effects |

`b` |
additive column effects |

Peter Hoff, Yanjun He

pdhoff/amen documentation built on Aug. 5, 2018, 4:11 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.