plot.comparaciones: Generic plot for multiple-comparison tests (with multcompView...

View source: R/plot_comparations.R

plot.comparacionesR Documentation

Generic plot for multiple-comparison tests (with multcompView letters) v2.0.1

Description

Generic plot for multiple-comparison tests (with multcompView letters) v2.0.1

Usage

## S3 method for class 'comparaciones'
plot(
  x,
  alpha = 0.05,
  p_column = c("auto", "p_ajustada", "p_value", "p"),
  horizontal = FALSE,
  fill = "steelblue",
  label_size = 5,
  label_color = "black",
  angle_x = 45,
  show_se = FALSE,
  se_type = c("se", "ci95"),
  pad_frac = 0.35,
  errorbar_width = 0.2,
  ...
)

Arguments

x

An object of class comparaciones.

alpha

Significance threshold for the letters (default 0.05).

p_column

Which p-value column: "auto","p_ajustada","p_value","p".

horizontal

If TRUE, draw horizontal bars.

fill

Bar fill color.

label_size

Letter size.

label_color

Letter color.

angle_x

Angle of x-axis labels (if horizontal = FALSE).

show_se

If TRUE and x$MSerror, x$N exist, draws error bars.

se_type

"se" (default) or "ci95".

pad_frac

Fraction of y-span used to place letters (default 0.35).

errorbar_width

Width of errorbar whiskers.

...

Not used.

Value

A ggplot object.


Analitica documentation built on Dec. 3, 2025, 9:07 a.m.