# bf_oneway_anova

From ggstatsplot v0.0.12
by Indrajeet Patil

##### Bayesian one-way analysis of variance.

Bayesian one-way analysis of variance.

##### Usage

```
bf_oneway_anova(data, x, y, bf.prior = 0.707, caption = NULL,
output = "null", paired = FALSE, k = 2, ...)
```

##### Arguments

- data
a data frame containing data for all factors in the formula

- x
The grouping variable from the dataframe

`data`

.- y
The response (a.k.a. outcome or dependent) variable from the dataframe

`data`

.- bf.prior
A number between

`0.5`

and`2`

(default`0.707`

), the prior width to use in calculating Bayes factors.- caption
The text for the plot caption.

- output
Can either be

`"null"`

(or`"caption"`

or`"H0"`

, which will contain text for evidence in favor of the null hypothesis or H0) or`"alternative"`

(or`"title"`

or`"H1"`

) or`"results"`

, which will return a dataframe with results all the details).- paired
a logical indicating whether you want a paired t-test.

- k
Number of digits after decimal point (should be an integer) (Default:

`k = 2`

).- ...
Additional arguments.

##### See Also

##### Examples

```
# NOT RUN {
# to get caption (default)
bf_oneway_anova(
data = iris,
x = Species,
y = Sepal.Length,
bf.prior = 0.8
)
# to get results dataframe
bf_oneway_anova(
data = iris,
x = Species,
y = Sepal.Length,
bf.prior = 0.8,
output = "results"
)
# }
```

*Documentation reproduced from package ggstatsplot, version 0.0.12, License: GPL-3 | file LICENSE*

### Community examples

Looks like there are no examples yet.