Given a number of loss events and a loss distribution, calculate losses

sample_lm(func = NULL, params = NULL)

Arguments

func

Function to use to simulate TEF, defaults to rpert.

params

Optional parameters to pass to func.

Value

List containing type ("lm"), samples (as a vector), and details (as a list).

See also