Forum: help


RE: Getting error message when running examples from the manual [ Reply ] By: Robert Udale on 2015-05-11 15:33 | [forum:42435] |
Thanks for your help. I have updated the Matrix package, and am using the latest versions of R and the BF package. Somehow, I am still getting the same error message. Are there any other potential solutions? Thanks! |
RE: Getting error message when running examples from the manual [ Reply ] By: Richard Morey on 2015-04-27 13:57 | [forum:42201] |
You have an old version of the Matrix package. If you restart R, then update the Matrix package: update.packages('Matrix') and then load the BayesFactor package, it should run fine. |
Getting error message when running examples from the manual [ Reply ] By: Robert Udale on 2015-04-17 11:33 | [forum:42197] |
Hello, I am trying to run a script containing the example analyses from the manual and the BF package website. However, even when I copy the examples, I get an error message, and do not get the complete BF output. For example, I want to run this ANOVA example: data(ToothGrowth) ToothGrowth$dose = factor(ToothGrowth$dose) bf = anovaBF(len ~ supp*dose, data=ToothGrowth) bf In the manual it says I should get this output: ## Bayes factor analysis ## -------------- ## [1] supp : 1.2 ±0% ## [2] dose : 4.98e+12 ±0% ## [3] supp + dose : 2.92e+14 ±1.58% ## [4] supp + dose + supp:dose : 7.44e+14 ±1.01% ## ## Against denominator: ## Intercept only ## --- ## Bayes factor type: BFlinearModel, JZS However, I get this output: Bayes factor analysis -------------- [1] supp : 1.198757 ±0.01% [2] dose : 4.983636e+12 ±0% [3] supp + dose : NA ±NA% [4] supp + dose + supp:dose : NA ±NA% Against denominator: Intercept only --- Bayes factor type: BFlinearModel, JZS Accompanied with this error message: Error in validObject(.Object) : invalid class “ddenseModelMatrix” object: superclass "geMatrix" not defined in the environment of the object's class What does this error message mean, and how might I fix it? |