Skip to content

Commit

Permalink
Updated examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbryer committed Mar 22, 2023
1 parent ab6e4fc commit beda1c5
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ Maintainer: Jason Bryer <jason@bryer.org>
Description: It is often advantageous to test a hypothesis more than once
in the context of propensity score analysis (Rosenbaum, 2012)
<doi:10.1093/biomet/ass032>. The functions in this package facilitate
bootstrapping for propensity score analysis. By default, bootstrapping
bootstrapping for propensity score analysis (PSA). By default, bootstrapping
using two classification tree methods (using 'rpart' and 'ctree'
functions), two matching methods (using 'Matching' and 'MatchIt'
packages), and stratification with logistic regression.
A framework is described for users to implement additional PSA methods.
Visualizations are emphasized for diagnosing balance; exploring the
correlation relationships between bootstrap samples and methods; and
to summarize results.
packages), and stratification with logistic regression. A framework
is described for users to implement additional propensity score
methods. Visualizations are emphasized for diagnosing balance;
exploring the correlation relationships between bootstrap samples and
methods; and to summarize results.
License: GPL
URL: https://github.com/jbryer/PSAboot
BugReports: https://github.com/jbryer/PSAboot/issues
Expand Down
2 changes: 1 addition & 1 deletion R/PSAboot.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ getPSAbootMethods <- function() {
#' @seealso getPSAbootMethods
#' @export
#' @examples
#' \dontrun{
#' \donttest{
#' library(PSAboot)
#' data(pisa.psa.cols)
#' data(pisausa)
Expand Down
2 changes: 1 addition & 1 deletion R/balance.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#' \item{balances}{a list with an M x n covariates matrix for each method.}
#' }
#' @examples
#' \dontrun{
#' \donttest{
#' library(PSAboot)
#' data(pisa.psa.cols)
#' data(pisausa)
Expand Down
2 changes: 1 addition & 1 deletion R/balance.boxplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#' @return a ggplot2 expression.
#' @export
#' @examples
#' \dontrun{
#' \donttest{
#' library(PSAboot)
#' data(pisa.psa.cols)
#' data(pisausa)
Expand Down
2 changes: 1 addition & 1 deletion R/balance.plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' @method plot PSAboot.balance
#' @return a ggplot2 expression.
#' @examples
#' \dontrun{
#' \donttest{
#' library(PSAboot)
#' data(pisa.psa.cols)
#' data(pisausa)
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You can download from CRAN using:
install.packages('PSAboot')
```

Or the latest development version using the `remotes` pacakge:
Or the latest development version using the `remotes` package:

```{r, eval=FALSE}
remotes::install_github('jbryer/PSAboot')
Expand Down
2 changes: 1 addition & 1 deletion man/PSAboot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/balance.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/boxplot.PSAboot.balance.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/plot.PSAboot.balance.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit beda1c5

Please sign in to comment.