Skip to content
New issue

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

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

Already on GitHub? # to your account

Use a vector instead of two arguments for setting prior parameters #5

Open
bakaburg1 opened this issue Jun 29, 2020 · 0 comments
Open
Labels
Cleaning Code improvements with no direct functionality changes
Milestone

Comments

@bakaburg1
Copy link
Contributor

In many functions now the alpha and beta parameters of the Beta prior are passed as two separated arguments (4 when considering the sensitivity priors). It would be cleaner to just pass a single 2-elements vector argument, like prior.par = c(a = .3, b = .3), assuming that the first is always the alpha and the second always the beta.

@bakaburg1 bakaburg1 added the Cleaning Code improvements with no direct functionality changes label Jun 29, 2020
@bakaburg1 bakaburg1 added this to the 1.1 milestone Jun 29, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Cleaning Code improvements with no direct functionality changes
Projects
None yet
Development

No branches or pull requests

1 participant