powered by
nomprob
rollcall
generateTestData
nomprob(yea, nay, ideal, Beta, dimweight, normal=1)
yp <- matrix(rep(0,10),nrow=10) np <- matrix(rep(0.1,10),nrow=10) ideal <- matrix(rep(0,10),nrow=10) nomprob(yp,np,ideal,15,0.5) #a matrix of yea probabilities
Run the code above in your browser using DataLab