[R] Bayes Factor

2017-07-06 Thread James Henson
Hello R Community; Just posted a question about Bayes Factor. But, just answered my own question. What is needed is to convert a 'dplyr' data frame into a standard data frame. competition2 <- data.frame(competition), where 'competition' is a 'dplyr' data frame with the following class structure.

[R] Bayes Factor

2017-07-06 Thread James Henson
Hello R Community, Subject: Bayes Factor A Bayesian ANOVA of the form: competitionBayesOut <- anovaBF(biomass ~ clipping, data = competition) Returns the following Error message: Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘compare’ for signature

[R] Bayes factor for a Welch or Yuen t-test

2010-11-29 Thread Wilson, Andrew
Although I have located a number of solutions for the Student t-test (equal variances), I have been unable to find any code for calculating a Bayes Factor for a Welch (unequal variances) or Yuen (trimmed mean) t-test. I wonder if anyone could help me with this? Many thanks, Andrew Wilson __