search for: sigij

Displaying 1 result from an estimated 1 matches for "sigij".

Did you mean: sigio
2011 Dec 22
1
try to silence errors
...mt function with a covariance that is not positive definite, I would like it to return Inf or NaN instead of an error message. I have been using the try function, however it is not yeilding the desired result. (I did not include the values since they are 17 dimensions, all you need to know is that sigij is singular) try(out <- dmt(y[,j],new$mu[,,4],sigij,ceiling(new$nu[4])),silent=TRUE) Error in chol.default(x, pivot = FALSE) : the leading minor of order 16 is not positive definite I have similarly tried the trycatch function (see below for code) however I am using this within a function m...