Skip to contents

Checks to see if any of the parameters are NA or NULL and if so, replaces them with the default values in x (x$par)

Usage

# S3 method for dfr_dist
params(x, ..., par = NA)

Arguments

x

The object to obtain the parameters of.

...

Additional arguments to pass into the params function.

par

The parameters to replace NA or NULL with.

Value

The parameters of the distribution.

Details

We may think of this function as a "constructor" for the parameters of a dfr_dist object. If we don't know some parameters, we can pass NA or NULL for them, and this function will replace them with the default values in x$par.