You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use pglmm, but it returns this error "Error in chol.default(re.i[[3]]) : the leading minor of order 13 is not positive definite", because the chol function, in get_design_matrix, cannot invert my spatial covariance matrix. However, I can invert the spatial covariance matrix using the function base::solve. There is a possibility to allow the user to choose the inversion function such as base::solve or MASS::ginv. Do you have any suggestion to turn my matrix invertible, I tried to add a small noise to the matrix values but it was not effective.
Best wishes,
The text was updated successfully, but these errors were encountered:
Dear,
I am trying to use pglmm, but it returns this error "Error in chol.default(re.i[[3]]) : the leading minor of order 13 is not positive definite", because the chol function, in get_design_matrix, cannot invert my spatial covariance matrix. However, I can invert the spatial covariance matrix using the function base::solve. There is a possibility to allow the user to choose the inversion function such as base::solve or MASS::ginv. Do you have any suggestion to turn my matrix invertible, I tried to add a small noise to the matrix values but it was not effective.
Best wishes,
The text was updated successfully, but these errors were encountered: