richarddmorey / BayesFactor

BayesFactor R package for Bayesian data analysis with common statistical models.
https://richarddmorey.github.io/BayesFactor/
132 stars 49 forks source link

Infinities in dependent gives cryptic error in generalTestBF (and maybe others) #35

Closed jonathon-love closed 9 years ago

jonathon-love commented 9 years ago

Might be nice to have a more informative error message than

simpleError in if (stderr < 10 * .Machine$double.eps * max(abs(mx), abs(my))) stop("data are essentially constant"): missing value where TRUE/FALSE needed
richarddmorey commented 9 years ago

fixed.