Closed acquafredda closed 4 years ago
Yes, use as.vector(a)
, as.data.frame(a)
, or extractBF(a)
.
Note that you can do this with any BF object, so:
z = a[4]/a[3]
extractBF(z)
or
as.vector(a[4]/a[3])
will work.
Thank you very much, sorry for my many questions.
Best, Miriam Acquafredda
Scarica Outlook per iOShttps://aka.ms/o0ukef
Da: Richard Morey notifications@github.com Inviato: Friday, March 20, 2020 5:11:05 PM A: richarddmorey/BayesFactor BayesFactor@noreply.github.com Cc: acquafredda miry26@hotmail.it; Author author@noreply.github.com Oggetto: Re: [richarddmorey/BayesFactor] Why is anovaBF storing bf in logarithmic form? (#140)
Yes, use as.vector(a), as.data.frame(a), or extractBF(a).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/richarddmorey/BayesFactor/issues/140#issuecomment-601781749, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO24MDDHGZMEM6JRJMT77BTRIOIRTANCNFSM4LQJCLGA.
If I do this calculation
a = anovaBF(phasedur ~ phasetype*cond + subj, data = BR_post, whichRandom = "subj")
it gives me these results:I can do the ratio calling a[4]/a[3] but then I can't compute the log10 of this ratio. Looking ad the object a itself, I noticed that
a@bayesFactor[["bf"]]
contains these values: `[1] -2.46322 50.94380 48.53981 46.21458 which are the natural logarithm forms of the ones shown in the output of the anova.How can I have access to the original values without computing the exp everytime?
Thank you