abacusPlot: Plot daily detections over time (or across recievers)

Description Usage Arguments Value See Also Examples

View source: R/abacusPlot.R

Description

Produces an abacus plot to visualise patterns of detection over time or across signal receivers

Usage

1
2
3
abacusPlot(ATTdata, id = NULL, theme = "theme_linedraw", xlab = NULL,
  ylab = NULL, det.col = 2, tag.col = 8, facet = FALSE,
  new.window = TRUE, ...)

Arguments

ATTdata

input 'ATT' object containing tag detection, metadata and station information.

id

input Tag.ID for a single or several tags within the 'ATT' object to plot

theme

ggplot theme used in plot (default = "theme_linedraw")

xlab

x axis label

ylab

y axis label

det.col

color of points indicating detections (default = "red")

tag.col

color of points indicating start and end of tag life (default = "grey")

facet

conditional argument to plot faceted plot, plotting detections by each animal on receiver stations (default = FALSE)

new.window

conditional argument for plotting in a new window (default = TRUE)

...

other arguments sent to geom_points to modify plotting aesthetics

Value

Produces an abacus plot in a new window. Daily detections over time for each tag (determined by "Tag.ID" field name). If facet parameter is TRUE detections of each tag on receiver stations plotted.

See Also

Input data needs to be setup using setupData

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Import example datasets
data(IMOSdata)
data(taginfo)
data(statinfo)

## Setup data
ATTdata<- setupData(Tag.Detections = IMOSdata, Tag.Metadata = taginfo, Station.Information = statinfo, source="IMOS")

## Create abacus plot
abacusPlot(ATTdata)

vinayudyawer/ATT documentation built on Oct. 8, 2020, 3:48 p.m.