-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- rename act_funs_m3versions to construct_m3_act_funs - cleanup documentation for m3 distribution functions - add examples and tests for m3 distribution functions - the logic inside dm3 and rm3 was exactly the same and the only thing that differed was the call to either dmultinom or - rmultinom. So I abstracted the contrustion of the probability vector into a new shared function - compute_m3_probability_vector(). That function is also much simpler than the body of dm3 before, but it achieves the same output - move some of the checks that were performed inside dm3 to the m3() call where they should happen instead.
- Loading branch information
Showing
6 changed files
with
322 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.