mm_PlotArray: Plot Array Plot individuals and optionally mean form

View source: R/explore.R

mm_PlotArrayR Documentation

Plot Array Plot individuals and optionally mean form

Description

Plot Array Plot individuals and optionally mean form

Usage

mm_PlotArray(
  A,
  MeanShape = TRUE,
  AllCols = NULL,
  MeanCol = NULL,
  plot_type = c("lines", "points"),
  lbl = NULL,
  yr = NULL,
  axis_labels = FALSE
)

Arguments

A

An array to be plotted

MeanShape

Logical. Should the Mean Shape be calculated and plotted

AllCols

Either a single color for all individuals, or a vector specifying colors for each individual. If NULL (default) individuals will be plotted in grey

MeanCol

A single color for the mean shape. If Null (default) mean shape will be plotted in black

plot_type

Should the data be plotted as points or lines.

lbl

A title (main =) for the plot. If NULL (default) the name of the array will be used.

yr

Y-range, in the form c(0,100)

axis_labels

Should units be printed along the axis. Defaults to FALSE to maximize the profile shape.

Value

Plot individual(s) profile(s) in the default graphics device.


ehrlichd/moRphomenses documentation built on Dec. 13, 2024, 8:36 a.m.