normalize_obs: Normalize observations, effort, or times

Description Usage Arguments

View source: R/utils-data-summarize.R

Description

normalize_obs will normalize the observations to the provided effort vector, if obs_per_effort is TRUE.

normalize_effort will generate a default effort vector if it is not provided, (effort = 1 over the provided obs time series)

normalize_times will generate a default times vector if it is not provided, (times = seq(length(obs)))

Usage

1
2
3
4
5
normalize_obs(obs, effort, obs_per_effort = !is.null(effort))

normalize_times(obs, times = NULL)

normalize_effort(obs, effort = NULL)

Arguments

obs

the time series of numeric observations

effort

numeric vector of effort associated with the observations.

obs_per_effort

logical indicator if obs should be corrected for effort before summaries are done.

times

numeric or Date vector of timestamps of the observations.


weecology/MATSS documentation built on May 15, 2020, 7:03 p.m.