diff --git a/DESCRIPTION b/DESCRIPTION index f1e1e9f..6fee134 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -10,14 +10,14 @@ Maintainer: Jason Bryer Description: It is often advantageous to test a hypothesis more than once in the context of propensity score analysis (Rosenbaum, 2012) . 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 diff --git a/R/PSAboot.R b/R/PSAboot.R index 5e04215..e4106b3 100755 --- a/R/PSAboot.R +++ b/R/PSAboot.R @@ -74,7 +74,7 @@ getPSAbootMethods <- function() { #' @seealso getPSAbootMethods #' @export #' @examples -#' \dontrun{ +#' \donttest{ #' library(PSAboot) #' data(pisa.psa.cols) #' data(pisausa) diff --git a/R/balance.R b/R/balance.R index bffb063..0048ca9 100755 --- a/R/balance.R +++ b/R/balance.R @@ -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) diff --git a/R/balance.boxplot.R b/R/balance.boxplot.R index be0f596..3bc932e 100755 --- a/R/balance.boxplot.R +++ b/R/balance.boxplot.R @@ -9,7 +9,7 @@ #' @return a ggplot2 expression. #' @export #' @examples -#' \dontrun{ +#' \donttest{ #' library(PSAboot) #' data(pisa.psa.cols) #' data(pisausa) diff --git a/R/balance.plot.R b/R/balance.plot.R index 45d0f13..9e4c7f5 100755 --- a/R/balance.plot.R +++ b/R/balance.plot.R @@ -11,7 +11,7 @@ #' @method plot PSAboot.balance #' @return a ggplot2 expression. #' @examples -#' \dontrun{ +#' \donttest{ #' library(PSAboot) #' data(pisa.psa.cols) #' data(pisausa) diff --git a/README.Rmd b/README.Rmd index 630350f..7ca0c5e 100755 --- a/README.Rmd +++ b/README.Rmd @@ -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') diff --git a/man/PSAboot.Rd b/man/PSAboot.Rd index 6a0c20a..0853ddf 100755 --- a/man/PSAboot.Rd +++ b/man/PSAboot.Rd @@ -84,7 +84,7 @@ this function provides a framework to use multiple PSA methods for each bootstra sample. } \examples{ -\dontrun{ +\donttest{ library(PSAboot) data(pisa.psa.cols) data(pisausa) diff --git a/man/balance.Rd b/man/balance.Rd index c8cf9f4..81b0e30 100755 --- a/man/balance.Rd +++ b/man/balance.Rd @@ -33,7 +33,7 @@ a list with three elements: This method provides some crude overall measures of balance. } \examples{ -\dontrun{ +\donttest{ library(PSAboot) data(pisa.psa.cols) data(pisausa) diff --git a/man/boxplot.PSAboot.balance.Rd b/man/boxplot.PSAboot.balance.Rd index 5b16b97..e827549 100755 --- a/man/boxplot.PSAboot.balance.Rd +++ b/man/boxplot.PSAboot.balance.Rd @@ -33,7 +33,7 @@ a ggplot2 expression. Boxplot of the balance statistics for bootstrapped samples. } \examples{ -\dontrun{ +\donttest{ library(PSAboot) data(pisa.psa.cols) data(pisausa) diff --git a/man/plot.PSAboot.balance.Rd b/man/plot.PSAboot.balance.Rd index d12716b..08aa3cc 100755 --- a/man/plot.PSAboot.balance.Rd +++ b/man/plot.PSAboot.balance.Rd @@ -33,7 +33,7 @@ a ggplot2 expression. Plot method for balance. } \examples{ -\dontrun{ +\donttest{ library(PSAboot) data(pisa.psa.cols) data(pisausa)