plot_dissim: Plot bootstrapped dissimilarities

View source: R/ggplot_functions.r

plot_dissimR Documentation

Plot bootstrapped dissimilarities

Description

Custom plotting function to display the bootstrapped dissimilarities, the mean line and its confidence intervals.

Usage

plot_dissim(
  metrics_stats,
  size_boot_lines = 0.2,
  alpha_boot_lines = 0.2,
  size_ci = 1,
  linetype_ci = 2,
  size_mean = 1,
  linetype_mean = 1
)

Arguments

metrics_stats

The output of get_stats_gg.

size_boot_lines

Size of the line connecting the bootstrapped values. Default is 0.2. Passed to geom_line.

alpha_boot_lines

Alpha parameter of the line connecting the bootstrapped values. Default is 0.2. Passed to geom_line.

size_ci

Size of the line used for the confidence intervals. Default is

  1. Passed to geom_line.

linetype_ci

Type of the line used for the confidence intervals. Default is 2. Passed to geom_line.

size_mean

Size of the line connecting the bootstrapped mean values of the metric. Default is 1. Passed to geom_line.

linetype_mean

Type of the line connecting the bootstrapped mean values of the metric. Default is 1. Passed to geom_line.

Value

A ggplot object.


valentinitnelav/bootdissim documentation built on Oct. 11, 2022, 12:34 a.m.