# NOT RUN {
dbivgeomRoy(x=2, y=0, theta1=0.7, theta2=0.2, theta3=0.8)
dbivgeomRoy(0:5, y=0, theta1=0.7, theta2=0.2, theta3=0.8)
# these are p(0,0), p(1,0), ..., p(5,0)
dbivgeomRoy(0:2, 1:3, theta1=0.7, theta2=0.2, theta3=0.8)
# these are p(0,1), p(1,2), p(2,3)
# }
Run the code above in your browser using DataLab