plot.TaglossData: Plot data used for tagloss analysis.

plot.TaglossDataR Documentation

Plot data used for tagloss analysis.

Description

This function plots the result of Tagloss_format().
The default ramp of colors is a grey ramp.

Usage

## S3 method for class 'TaglossData'
plot(
  x,
  ...,
  categories = c("N22", "N21", "N11", "N10", "N20"),
  col = grey(seq(from = 0.9, to = 0, length.out = length(categories))),
  title.legend = "Tag history",
  categories.legend = categories,
  show.legend = TRUE
)

Arguments

x

A result for Tagloss_format.

...

Graphic parameters, see par().

categories

Categories to display.

col

The ramp of colors used for the categories.

title.legend

Title for legend box.

categories.legend

Name of categories to show in legend box.

show.legend

Should the legend box be shown ?

Details

plot.TaglossData plots formated data used for tagloss analysis

Value

Nothing

Author(s)

Marc Girondot marc.girondot@gmail.com

See Also

Other Model of Tag-loss: Tagloss_LengthObs(), Tagloss_L(), Tagloss_cumul(), Tagloss_daymax(), Tagloss_fit(), Tagloss_format(), Tagloss_mcmc_p(), Tagloss_mcmc(), Tagloss_model(), Tagloss_simulate(), logLik.Tagloss(), o_4p_p1p2, plot.Tagloss()

Examples

## Not run: 
library(phenology)
# Example
data_f_21 <- Tagloss_format(outLR, model="21")
plot(data_f_21)

## End(Not run)

phenology documentation built on Oct. 16, 2023, 9:06 a.m.