# subtitle_t_bayes

From ggstatsplot v0.0.11
by Indrajeet Patil

##### Making text subtitle for the bayesian t-test.

Making text subtitle for the bayesian t-test.

##### Usage

```
subtitle_t_bayes(data, x, y, bf.prior = 0.707, paired = FALSE, k = 2,
...)
```

##### Arguments

- data
A dataframe (or a tibble) from which variables specified are to be taken. A matrix or tables will

**not**be accepted.- 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.- paired
Logical that decides whether the design is repeated measures/within-subjects (in which case one-way Friedman Rank Sum Test will be carried out) or between-subjects (in which case one-way Kruskal<U+2013>Wallis H test will be carried out). The default is

`FALSE`

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

`k = 2`

).- ...
Additional arguments.

##### Examples

```
# NOT RUN {
# for reproducibility
set.seed(123)
# between-subjects design
ggstatsplot::subtitle_t_bayes(
data = mtcars,
x = am,
y = wt,
paired = FALSE
)
# within-subjects design
ggstatsplot::subtitle_t_bayes(
data = dplyr::filter(
ggstatsplot::intent_morality,
condition %in% c("accidental", "attempted"),
harm == "Poisoning"
),
x = condition,
y = rating,
paired = TRUE
)
# }
```

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

### Community examples

Looks like there are no examples yet.