Description Usage Arguments Examples
You can calculate a series of summary statistics (features) of a given variable for a dataset. For example, a three number summary, the minimum, median, and maximum, can be calculated for a given variable. This is designed to work with the [features()] function shown in the examples. Other available features in 'loadflux' include:
1 | feat_event(x)
|
x |
A vector to extract features from. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # You can use any of the features `feat_*` in conjunction with `features`
# like so:
library(dplyr)
library(fabletools)
library(tsibble)
djants <- djan %>%
hydro_events(
q = discharge,
datetime = time,
window = 21
) %>%
as_tsibble(
key = he,
index = time
)
djants %>%
features(
time, # variable you want to explore
feat_event
) # the feature summarisation you want to perform
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.