drawlatentOR2 function

Samples latent variable z in the OR2 model