growthplot: Produces plot of the fitted spline function after adjusting...

View source: R/plot.R

growthplotR Documentation

Produces plot of the fitted spline function after adjusting for number of Specimens

Description

Produces plot of the fitted spline function after adjusting for number of Specimens

Usage

growthplot(
  fit,
  ylim = NULL,
  xlab = "Year",
  ylab = "Adjusted Frequency",
  main = fit$name,
  ...
)

Arguments

fit

a "lagphase" fit object to plot

ylim

vector of size 2 - limits of the $y$-axis

xlab

Label for the $x$-axis

ylab

Label for the $y$-axis

main

Title of the plot

...

(optional) parameters to pass to plot

Value

Produces a plot of the fit with confidence bands

Examples

Species = unique(fdata$Species) #List of all species
fit1 = lagfit(fdata, yeardata, species=Species[1])
growthplot(fit1$fit)

PopulationGrowthR documentation built on May 10, 2022, 5:11 p.m.