Function to visualize the fitted hierarchical growth model

gmplot(gmdata, id = FALSE, facet = FALSE, legend = FALSE, error = TRUE)

Arguments

gmdata

output of function growthreg.

id

logical. Show growth curves per individual. Defaults to FALSE.

facet

logical. Option to split graph in facets per fish id . Defaults to FALSE.

legend

logical. Option to add color legend. Defaults to FALSE.

error

logical. Option to show 95% CI around bc estimates. Defaults to TRUE.

Value

A plot of class ggplot.