Simulates a random latent matrix Z given its expectation, dyadic correlation and fixed rank nomination data
rZ_frn_fc(Z, EZ, rho, Y, YL, odmax, odobs)
a square matrix, the new value of Z
a square matrix, the current value of Z
expected value of Z
dyadic correlation
square matrix of ranked nomination data
list of ranked individuals, from least to most preferred in each row
a scalar or vector giving the maximum number of nominations for each individual
observed outdegree
Peter Hoff
simulates Z under the constraints (1) Y[i,j]>Y[i,k] => Z[i,j]>Z[i,k] , (2) Y[i,j]>0 => Z[i,j]>0 , (3) Y[i,j]=0 & odobs[i]<odmax[i] => Z[i,j]<0