.nightly_daily_cf | R Documentation |
nightly period custom function, to use with nightly_metrics
.nightly_daily_cf(timestamp, night_data, int_start)
timestamp |
TIMESTAMP |
night_data |
as it comes inside of sfn_metrics |
int_start |
interval start as supplied to sfn_metrics |
This function will be supplied as "period" argument to summarise_by_period when daily nightly metrics are requested.
a vector of the same length as TIMESTAMP with the collapsed values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.