decorator: Decorate estimator

decoratorR Documentation

Decorate estimator

Description

The decorator constructs an ⁠ml***⁠. It first checks the input arguments, then call the defined estimator (with elements estimates and logLik), and the optional parameter support, then adds the required attributes.

Usage

decorator(name)

Arguments

name

Name of the ⁠ml***⁠ function.

Value

The proper ⁠ml***⁠ function.


JonasMoss/univariateML documentation built on Nov. 3, 2024, 3:03 p.m.