Learn R Programming

amen (version 1.4.5)

simY_ord: Simulate an ordinal relational matrix

Description

Simulates an ordinal relational matrix having a particular marginal distribution

Usage

simY_ord(EZ, rho, Y)

Value

a square matrix

Arguments

EZ

square matrix giving the expected value of the latent Z matrix

rho

scalar giving the within-dyad correlation

Y

ordinal relational data matrix

Author

Peter Hoff