Description Arguments Examples
Like dplyr, erosivity
also uses the pipe function,
%>%
to turn function composition into a series of imperative
statements.
lhs, rhs |
A hyetograph and a function to apply to it |
1 2 3 4 5 6 7 8 | # Instead of
data("prec5min")
hyet_clear <- hyet_remove_rep(prec5min)
hyet_fill <- hyet_fill(hyet_clear, time_step = 5)
# you can write
prec5min %>% hyet_remove_rep() %>% hyet_fill(time_step = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.