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

Should r/d/q/pcontbern be exported? #111

Open
wleoncio opened this issue Apr 9, 2024 · 1 comment
Open

Should r/d/q/pcontbern be exported? #111

wleoncio opened this issue Apr 9, 2024 · 1 comment
Labels
question Further information is requested

Comments

@wleoncio
Copy link
Member

wleoncio commented Apr 9, 2024

I wonder if we should export those functions, since they are not available on base-R and mightbe useful for users.

If we do that, it would be nice to give those functions the ability to process lower.tail and log.p, which are common arguments among other distros.

@wleoncio wleoncio added the question Further information is requested label Apr 9, 2024
@wleoncio
Copy link
Member Author

On the other hand, functions from the popular rmutil packages (also used here) like invgauss() and multbinom() do not contain a lower.tail argument. They do contain a log argument for the density variant, though, so we could also follow that paradigm to make our lives easier (or at least for an initial deployment/solution to this issue).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant