# NOT RUN {
# If lower.tail = TRUE:
pbivgeocure(x = 1, y = 2, theta = c(0.2, 0.4, 0.7), phi = c(0.2, 0.3, 0.3, 0.2), lower.tail = TRUE)
# [1] 0.159456
matr <- matrix(c(1,2,3,5), ncol = 2)
pbivgeocure(x=matr,y=NULL,theta=c(0.2, 0.4, 0.7),phi=c(0.2, 0.3, 0.3, 0.2),lower.tail = TRUE)
# [1] 0.1684877 0.1957496
# If lower.tail = FALSE:
pbivgeocure(x = 1, y = 2, theta = c(0.2, 0.4, 0.7), phi = c(0.2, 0.3, 0.3, 0.2), lower.tail = FALSE)
# [1] 0.268656
matr <- matrix(c(1,2,3,5), ncol = 2)
pbivgeocure(x=matr,y=NULL,theta=c(0.2, 0.4, 0.7),phi=c(0.2, 0.3, 0.3, 0.2),lower.tail = FALSE)
# [1] 0.2494637 0.2064101
# }
Run the code above in your browser using DataLab