Re: [R] Calling procedures

2021-01-25 Thread Rui Barradas
Hello, I am not seeing errors, except that you haven't posted the code for pbivnorm. Do you have a variable named T somewhere? Don't abbreviate TRUE to T in more complex code. Or FALSE to F. And both functions mycdf and mycdf2 could be simplified. mycdf <- function(q,logistic=FALSE){ # **

[R] Calling procedures

2021-01-24 Thread Steven Yen
Dear All Below are calls to functions to calculate bivariate and univariate logistic probabilities.It works for the following sample program (with results p1=p2 and p3=p4), but similar calls in a more elaborated program produced unpredicted results. My question is whether I am doing somethin