View source: R/eda_sampling_rate.R
summarize_sampling_rate | R Documentation |
Returns a summary of sampling rates
summarize_sampling_rate(x, ...)
## S3 method for class 'track_xyt'
summarize_sampling_rate(
x,
time_unit = "auto",
summarize = TRUE,
as_tibble = TRUE,
...
)
summarize_sampling_rate_many(x, ...)
## S3 method for class 'track_xyt'
summarize_sampling_rate_many(x, cols, time_unit = "auto", ...)
x |
A |
... |
Further arguments, none implemented. |
time_unit |
|
summarize |
A logical. If |
as_tibble |
A logical. Should result be returned as |
cols |
Columns used for grouping. |
Depending on summarize
and as_tibble
, a vector, table or tibble.
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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.