Learn R Programming

dispersionIndicators (version 0.1.5)

plot_convex_hull: Plot the convex hulls of a single variable.

Description

Plot the convex hulls of a single variable.

Usage

plot_convex_hull(
  data,
  hull_data_list,
  var_name,
  show_points,
  label_prefix,
  indicators
)

Value

A ggplot object.

Arguments

data

Data frame containing the batch, order and variable value columns.

hull_data_list

List of data frames of convex hulls.

var_name

Name of the variable.

show_points

Boolean indicating whether to show points.

label_prefix

Prefix for the plot title.

indicators

Data frame with the indicators values.