hsloot / rmo

An R package for Marshall--Olkin distributions and copulas.
https://hsloot.github.io/rmo/
GNU General Public License v3.0
5 stars 2 forks source link

[REFACTOR] Remove `lambda` parameter from `PoissonBernsteinFunction` #81

Closed hsloot closed 2 years ago

hsloot commented 3 years ago

Proposal

The scale parameter lambda from the PoissonBernsteinFunction is redundant since the following Bernstein Functions are equivalent:

PoissonBernsteinFunction(lambda = lambda, eta = eta)
ScaledBernsteinFunction(scale = lambda, original = PoissonBernsteinFunction(eta = eta))

Removing lambda will not remove any feature, but will make the user interface more consistent, since most Bernstein function families have a single parameter.