Format effort data for use in other acoustic detection plotting functions. Time ranges will be marked as either "on" or "off" effort
formatEffort(
effort,
range = NULL,
resolution = NULL,
columns = NULL,
combineYears = FALSE
)
a dataframe with columns start
, end
, and status
which is either "on" or "off", as well as any columns listed in columns
dataframe with columns start
and end
describing
on effort time ranges
if not NULL
, the full extent time ranges to consider for
marking off effort times
if not NULL
, time resolution to round effort start
and end times to. Start times will use floor_date and
end times will use ceiling_date, must be a character
that is valid for the unit
argument of those functions
if not NULL
, extra columns to use for differentiating
different types of effort that should be tracked separately (e.g. different
deployment sites or species with different effort)
logical flag to combine all years into a single "year"
Taiki Sakai taiki.sakai@noaa.gov