show.fbst | R Documentation |
Prints the main results of a Full Bayesian Significance Test to the console.
## S3 method for class 'fbst'
show(object)
object |
An Object of class |
Shows the main results of a Full Bayesian Significance Test stored in an object of class fbst
.
Prints the results onto the console.
Riko Kelter
For a details, see: https://arxiv.org/abs/2001.10577 and https://arxiv.org/pdf/2001.10577.pdf.
set.seed(57)
grp1=rnorm(50,0,1.5)
grp2=rnorm(50,0.8,3.2)
p = as.vector(BayesFactor::ttestBF(x=grp1,y=grp2,
posterior = TRUE, iterations = 3000,
rscale = "medium")[,4])
# flat reference function
res = fbst(posteriorDensityDraws = p, nullHypothesisValue = 0,
dimensionTheta = 2, dimensionNullset = 1)
show(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.