Given a number of loss events and a loss distribution, calculate losses
sample_lm(n, .func = NULL, params = NULL)
Number of samples to generate.
Function to use to simulate TEF, defaults to
Optional parameters to pass to
List containing type ("lm"), samples (as a vector), and details (as a list).
Other OpenFAIR helpers: