-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cleaning up dbetabinom * removed rounding, not needed * rmarkdown language and assert for dbetabinom * changed x and m to number instead of numeric * test2 * testing dbetabinomMix and asserting inputs * for dbetabinom and dbetabinomMix, created/edited : test functions and example files * syntax * update dbetabinom.R * Update R/dbetabinom.R Co-authored-by: Daniel Sabanes Bove <[email protected]> * Update R/dbetabinom.R Co-authored-by: Daniel Sabanes Bove <[email protected]> * Update R/dbetabinom.R Co-authored-by: Daniel Sabanes Bove <[email protected]> * Update R/dbetabinom.R Co-authored-by: Daniel Sabanes Bove <[email protected]> * Update R/dbetabinom.R Co-authored-by: Daniel Sabanes Bove <[email protected]> * Update tests/testthat/test-dbetabinom.R Co-authored-by: Daniel Sabanes Bove <[email protected]> * Update tests/testthat/test-dbetabinom.R Co-authored-by: Daniel Sabanes Bove <[email protected]> * Update tests/testthat/test-dbetabinom.R Co-authored-by: Daniel Sabanes Bove <[email protected]> * Update R/dbetabinom.R Co-authored-by: Daniel Sabanes Bove <[email protected]> * periods * [skip actions] Roxygen Man Pages Auto Update * added period for roxygen document added log option in dbetabinom document build successful * [skip actions] Roxygen Man Pages Auto Update * Update R/dbetabinom.R Co-authored-by: Daniel Sabanes Bove <[email protected]> * Update R/dbetabinom.R Co-authored-by: Daniel Sabanes Bove <[email protected]> * [skip actions] Roxygen Man Pages Auto Update * log in dbetabinomMix * assert_flag for log input * Update R/dbetabinom.R Co-authored-by: Daniel Sabanes Bove <[email protected]> * polish and fix tests --------- Co-authored-by: Daniel Sabanes Bove <[email protected]> Co-authored-by: 27856297+dependabot-preview[bot]@users.noreply.github.com <27856297+dependabot-preview[bot]@users.noreply.github.com>
- Loading branch information
1 parent
be3c928
commit e649e9c
Showing
11 changed files
with
188 additions
and
102 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,7 @@ vignettes/*.md | |
vignettes/*.R | ||
coverage.* | ||
.vscode/ | ||
|
||
tests/testthat/junit-result.xml | ||
|
||
tests/unit_testing_results.rds |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
## Calculating the beta binomial density, x = 2; m = 29; a = 0.2; b = 0.4 | ||
## | ||
## when p(x) = choose(29,2)*beta(2.2,27.4)/beta(0.2,0.4) = 0.04286893 | ||
## | ||
dbetabinom(2, 29, 0.2, 0.4) | ||
dbetabinom(x = 2, m = 29, a = 0.2, b = 0.4, log = FALSE) | ||
|
||
## Can also specify x as a vector, x = 1:28 | ||
## | ||
## | ||
dbetabinom(1:28, 29, 0.2, 0.4) | ||
# Can also specify x as a vector. | ||
|
||
dbetabinom(x = 1:28, m = 29, a = 0.2, b = 0.4, log = FALSE) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1630,6 +1630,7 @@ datepicker | |
datetime | ||
db<U+034A> | ||
dBe | ||
dbetabinom | ||
DCBCBC | ||
dcc | ||
DCC | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.