Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow <epidist> to contain an exponential distribution #333

Merged
merged 5 commits into from
Jun 10, 2024

Conversation

joshwlambert
Copy link
Member

This PR addresses #328 by adding the ability to construct and print <epidist> objects with an exponential distribution.

The create_epidist_prob_dist(), is_epidist_params(), clean_epidist_params() and family.epidist() are updated to accommodate an exponential distribution. .clean_epidist_params_exp() is added to standardise the various valid parameterisations for the exponential distribution input by users.

Unit tests have been added for create_epidist_prob_dist() and clean_epidist_params().

@joshwlambert joshwlambert added enhancement New feature or request S3-class labels Jun 10, 2024
@joshwlambert joshwlambert merged commit 57d1af3 into main Jun 10, 2024
9 checks passed
@joshwlambert joshwlambert deleted the add_exp_dist branch June 10, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request S3-class
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant