Learn R Programming

GeometricMorphometricsMix (version 0.6.0.1)

plot.disparity_resample: Plot method for disparity_resample objects

Description

Creates a confidence interval plot for disparity resample results

Usage

# S3 method for disparity_resample
plot(
  x,
  point_color = "darkblue",
  errorbar_color = "darkred",
  title = NULL,
  ...
)

Value

A ggplot object

Arguments

x

An object of class "disparity_resample"

point_color

A single color or a vector of colors for point estimates. If length 1, the same color is used for all points. If length equals the number of groups, colors are assigned per group. (default "darkblue")

errorbar_color

A single color or a vector of colors for error bars. Follows the same recycling rules as `point_color`. (default "darkred")

title

Optional character string for plot title (default NULL)

...

Additional arguments (currently unused)