plotLollipops.GrowthData: plot lollipops for fits to growth data

View source: R/plotLollipops.R

plotLollipops.GrowthDataR Documentation

plot lollipops for fits to growth data

Description

function to plot lollipops for fits to growth data.

Usage

plotLollipops.GrowthData(
  mdfr,
  type = "zscores",
  extreme = 3,
  dw = 1,
  linewidth = 0.1,
  plotPoints = TRUE,
  xlab = "pre-molt size",
  ylab = type
)

Arguments

mdfr
  • input dataframe from extractMDFR.Fits.GrowthData()

type
  • type of value to plot (e.g., "zscores")

extreme
  • criteria for extreme values

dw
  • dodge width (x-axis units)

linewidth
  • linewidth for lollipop stems

plotPoints
  • flag to plot "pop" part of lolli

xlab
  • x-axis label

ylab
  • y-axis label

Details

Plots type as lollipops against pre-molt size.

If type = "recalc zscores", then the zscores are recalculated (they were incorrectly calculated prior to August 2024).

Value

ggplot2 plot object


wStockhausen/rCompTCMs documentation built on Aug. 27, 2024, 7:15 p.m.