It creates a sampler for the `mle` object. It returns a function that accepts a single parameter `n` denoting the number of samples to draw from the `mle` object.
Usage
# S3 method for mle
sampler(x, ...)
It creates a sampler for the `mle` object. It returns a function that accepts a single parameter `n` denoting the number of samples to draw from the `mle` object.
# S3 method for mle
sampler(x, ...)