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)

Description

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

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,
  angle_x = 45,
  show_se = FALSE,
  ...
)

Arguments

x

An object of class comparaciones (includes "bonferroni" or "tukey").

alpha

Significance threshold for the letters (default 0.05).

p_column

Which p-value column to use: "auto" (detect), "p_ajustada", "p_value", or "p".

horizontal

If TRUE, draw horizontal bars.

fill

Bar fill color.

label_size

Letter size.

angle_x

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

show_se

If TRUE and x$MSerror and x$N exist, draws standard error (SE) bars.

...

Not used.

Value

A ggplot object.


Analitica documentation built on Nov. 5, 2025, 5:13 p.m.