-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correct DESCRIPTION + new example for bootstrap
- Loading branch information
Showing
6 changed files
with
36 additions
and
7 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
This package was submitted to CRAN on 2020-12-11. | ||
Once it is accepted, delete this file and tag the release (commit 19119b3). | ||
Once it is accepted, delete this file and tag the release (commit 47ff448). |
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,2 +1,10 @@ | ||
In this is a resubmission, I have: | ||
* fixed an entry in DESCRIPTION causing a failure in automatic check | ||
* add <doi:10.1111/j.2517-6161.1995.tb02035.x> reference in DESCRIPTION. | ||
* remove "cph" as not adequate for persons in DESCRIPTION. | ||
* add the adequate "ctb" instead in DESCRIPTION. | ||
* enhance documentation of "bootstrap.R". | ||
* add an example on how to use the bootstrap function (new file "eg_bootstrap.R"). | ||
|
||
I have not: | ||
* replace \dontrun{} by \donttest{} for the examples. My reason for using \dontrun{} is that the concerned examples exceed 5 seconds of execution time (but I believe these examples are useful for users), however \donttest{} still run the examples and trigger an error when checking the package. | ||
* add many new examples as I think a vignette would be most useful at this stage and is under consideration for a further version of the package. |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
## bootstrap poisson regression | ||
counts <- c(18,17,15,20,10,20,25,13,12) | ||
outcome <- gl(3,1,9) | ||
treatment <- gl(3,3) | ||
pois_fit <- glm(counts ~ outcome + treatment, family = poisson()) | ||
|
||
## make 100 paramtric bootstrap replicates | ||
boot_dist <- bootstrap(pois_fit, B = 100) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.