normalise {tidyindex} | R Documentation |
The normalise module
Description
The normalise module takes a probability value from a distribution fit
norm_quantile()
to convert based on the normal quantile function
Usage
normalise(data, ...)
norm_quantile(var)
Arguments
data |
an index table object |
... |
the expression to be evaluated |
var |
used in |
Value
an index table object
Examples
library(dplyr)
library(lmomco)
tenterfield |>
mutate(month = lubridate::month(ym)) |>
init(id = id, time = ym, group = month) |>
temporal_aggregate(.agg = temporal_rolling_window(prcp, scale = 12)) |>
distribution_fit(.fit = dist_gamma(.agg, method = "lmoms")) |>
normalise(index = norm_quantile(.fit))
[Package tidyindex version 0.1.0 Index]