Learn R Programming

ffaframework (version 0.1.1)

plot_lmom_diagram: Plot L-Moment Ratio Diagram

Description

Generates a plot of L-moment ratios with the L-skewness on the x-axis and L-kurtosis on the y-axis. Plots the sample and log-sample L-moment ratios alongside the theoretical L-moment ratios for a set of candidate distributions. Also includes a small inset around the L-moment ratios of the recommended distribution.

Usage

plot_lmom_diagram(results, ...)

Value

ggplot; plot object containing the L-moment ratio diagram, with:

  • L-moment ratio curves for each 3-parameter distribution.

  • Points for the L-moment ratios of each 2-parameter distribution.

  • Sample and log-sample L-moment ratio \((t_3, t_4)\) points.

Arguments

results

List of distribution selection results generated by select_ldistance(), select_lkurtosis(), or select_zstatistic().

...

Optional named arguments: 'title', 'xlabel', and 'ylabel'.

See Also

select_ldistance(), select_lkurtosis(), select_zstatistic()

Examples

Run this code
data <- rnorm(n = 100, mean = 100, sd = 10)
results <- select_ldistance(data)
plot_lmom_diagram(results)

Run the code above in your browser using DataLab