Skip to content

Commit

Permalink
Fix typos in doc
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
jgabry committed Aug 7, 2017
1 parent 5976034 commit 1467dd6
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion R/bayesplot-colors.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#' the scheme names listed above (e.g. "mix-teal-pink", "mix-blue-red",
#' etc.). The order of \code{x} and \code{y} matters, i.e., the color
#' schemes "mix-blue-red" and "mix-red-blue" are not identical. There is no
#' gaurantee that every possible mixed scheme will look good with every
#' guarantee that every possible mixed scheme will look good with every
#' possible plot.
#' }
#'
Expand Down
2 changes: 1 addition & 1 deletion R/bayesplot_grid.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#' \code{widths}, etc.).
#' @param titles,subtitles Optional character vectors of plot titles and
#' subtitles. If specified, \code{titles} and \code{subtitles} must must have
#' length equal to the number of plots speficied.
#' length equal to the number of plots specified.
#' @param xlim,ylim Optionally, numeric vectors of length 2 specifying lower and
#' upper limits for the axes that will be shared across all plots.
#' @param legends If any of the plots have legends should they be displayed?
Expand Down
2 changes: 1 addition & 1 deletion R/example-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ NULL

#' @rdname example-data
#' @export
#' @param chains An interger between 1 and 4 indicating the desired number of
#' @param chains An integer between 1 and 4 indicating the desired number of
#' chains.
#' @param params An integer between 1 and 6 indicating the desired number of
#' parameters.
Expand Down
2 changes: 1 addition & 1 deletion R/mcmc-combo.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#' relative column widths. For example, if the plot has two columns, then
#' \code{widths = c(2, 1)} will allocate more space for the first column by a
#' factor of 2 (as would \code{widths = c(.3, .15)}, etc.). The default,
#' \code{NULL}, allocates the same horiztonal space for each column.
#' \code{NULL}, allocates the same horizontal space for each column.
#' @param gg_theme Unlike most of the other \pkg{bayesplot} functions,
#' \code{mcmc_combo} returns a gtable object rather than a ggplot object, and
#' so theme objects can't be added directly to the returned plot object. The
Expand Down
6 changes: 3 additions & 3 deletions R/mcmc-diagnostics-nuts.R
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@
#' @seealso
#' \itemize{
#' \item The \emph{Visual MCMC Diagnostics} vignette.
#' \item Several other plotting functions in the \pkg{bayesplot}
#' package that aren't NUTS-specific but take optional extra arguments
#' if the model was fit using NUTS:
#' \item Several other plotting functions in the \pkg{bayesplot} package that
#' are not NUTS-specific but take optional extra arguments if the model was fit
#' using NUTS:
#' \itemize{
#' \item \code{\link{mcmc_trace}} will plot divergences on the traceplot if the
#' optional \code{divergences} argument is specified.
Expand Down
4 changes: 2 additions & 2 deletions R/mcmc-scatterplots.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#' (roughly) half are displayed above the diagonal and half are below (all
#' chains are always merged together for the plots along the diagonal). Other
#' possibilities are available by setting the \code{condition} argument.
#' Additionally, extra diagonistic information for models fit using
#' Additionally, extra diagnostic information for models fit using
#' \code{\link{NUTS}} can be added to the pairs plot using the \code{lp},
#' \code{np}, and \code{np_style} arguments.
#' }
Expand Down Expand Up @@ -392,7 +392,7 @@ mcmc_pairs <- function(x,
#' @rdname MCMC-scatterplots
#' @export
#' @param div_color,div_shape,div_size,td_color,td_shape,td_size Optional
#' rguments to the \code{pairs_style_np} helper function that are eventually
#' arguments to the \code{pairs_style_np} helper function that are eventually
#' passed to \code{\link[ggplot2]{geom_point}}. They control the color, shape,
#' and size specifications for points representing divergences (\code{div})
#' and points indicating hitting the maximum treedepth (\code{td}). See the
Expand Down
2 changes: 1 addition & 1 deletion R/ppc-overview.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#' \eqn{X} we denote the resulting simulations by \eqn{y^{rep}}{yrep} as they
#' can be thought of as \emph{replications} of the outcome \eqn{y} rather than
#' predictions for future observations. This corresponds to the notation from
#' Gelman et. al. (2013) and is the notation used throughtout the documentation
#' Gelman et. al. (2013) and is the notation used throughout the documentation
#' for this package.
#' }
#' \subsection{Graphical posterior predictive checking}{
Expand Down
2 changes: 1 addition & 1 deletion man/MCMC-combos.Rd

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

6 changes: 3 additions & 3 deletions man/MCMC-nuts.Rd

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

4 changes: 2 additions & 2 deletions man/MCMC-scatterplots.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/PPC-overview.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/bayesplot-colors.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/bayesplot_grid.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/example-data.Rd

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

0 comments on commit 1467dd6

Please sign in to comment.