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] Introduce high-level sampling methods and make specific methods internal #98

Closed hsloot closed 2 years ago

hsloot commented 2 years ago

Summary

The public interface should have only a few high-level for selected (sub-)classes: rmo (arbitrary MO distribution), rexmo (exchangeable MO distribution), rextmo (extendible MO distributions), and rpextmo (parametrized families of extendible MO distributions).

Proposal

The signatures should be as follows:

All methods should check input parameters extensively, e.g., that new(family, nu) returns a valid Bernstein function or that the "LFM" method is applicable.

Checklist

hsloot commented 2 years ago

Should be done after #81.