Description Usage Arguments Details Value Author(s) References Examples

This function checks the assumption of normality for each of the groups `x1`

, `x2`

, `x3`

(and optional `x4`

, `x5`

and `6`

) used in the Bayesian ANOVA via Shapiro-Wilk tests with confidence level `conf.level`

.

1 | ```
assumption.check(x1,x2,x3,x4=NULL,x5=NULL,x6=NULL,conf.level=0.95)
``` |

`x1` |
Numerical vector containing the values for the first group |

`x2` |
Numerical vector containing the values for the second group |

`x3` |
Numerical vector containing the values for the third group |

`x4` |
Numerical vector containing the values for the fourth group. Defaults to NULL. |

`x5` |
Numerical vector containing the values for the fifth group. Defaults to NULL. |

`x6` |
Numerical vector containing the values for the sixth group. Defaults to NULL. |

`conf.level` |
Confidence level of the Shapiro-Wilk test used. Significance level equals |

If a single Shapiro-Wilk test fails, the method returns a warning and recommends to use further diagnostics.

Histograms and Quantile-Quantile plots for all groups are produced, either a warning or a confirmation of normality in all three groups is printed to the console.

Riko Kelter

For details, see: https://arxiv.org/abs/1906.07524v1

1 2 3 4 5 6 | ```
set.seed(42)
x1=rnorm(75,0,1)
x2=rnorm(75,1,1)
x3=rnorm(75,2,1)
assumption.check(x1,x2,x3,conf.level = 0.95)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.