boxplot_test: Draw a boxplot with Kruskal-Wallis or Anova test too

View source: R/graphs.R

boxplot_testR Documentation

Draw a boxplot with Kruskal-Wallis or Anova test too

Description

Draw a boxplot with Kruskal-Wallis or Anova test too

Usage

boxplot_test(
  x,
  group,
  test = c("kruskal.test", "anova"),
  add_p_height = NA,
  biv_quant_par = NULL,
  ...
)

Arguments

x

quantitative variable

group

group/qualitative variable (coerced to factor)

test

which test to perform

add_p_height

add a line with p of the test performed at the specified height (on the y scale) if this value is not NA

biv_quant_par

parameter passed to biv_quant (other than x and y) for printing statistics to Latex and exporting them to excel

...

further params passed to boxplot


lbraglia/lbstat documentation built on Sept. 17, 2023, 2:30 p.m.