powered by
Returns a summary of sampling rates
summarize_sampling_rate(x, ...)# S3 method for track_xyt summarize_sampling_rate( x, time_unit = "auto", summarize = TRUE, as_tibble = TRUE, ... )summarize_sampling_rate_many(x, ...)# S3 method for track_xyt summarize_sampling_rate_many(x, cols, time_unit = "auto", ...)
# S3 method for track_xyt summarize_sampling_rate( x, time_unit = "auto", summarize = TRUE, as_tibble = TRUE, ... )
summarize_sampling_rate_many(x, ...)
# S3 method for track_xyt summarize_sampling_rate_many(x, cols, time_unit = "auto", ...)
Depending on summarize and as_tibble, a vector, table or tibble.
summarize
as_tibble
A track_xyt.
track_xyt
Further arguments, none implemented.
[character(1) = "auto"] Which time unit will be used.
[character(1) = "auto"]
A logical. If TRUE a summary is returned, otherwise raw sampling intervals are returned.
TRUE
A logical. Should result be returned as tibble or as table.
tibble
table
Columns used for grouping.
data(deer) amt::summarize_sampling_rate(deer) data(amt_fisher) # Add the month amt_fisher |> mutate(yday = lubridate::yday(t_)) |> summarize_sampling_rate_many(c("id", "yday"))
Run the code above in your browser using DataLab