Skip to content

Commit 1467dd6

Browse files
committed
Fix typos in doc
[ci skip]
1 parent 5976034 commit 1467dd6

14 files changed

+20
-20
lines changed

R/bayesplot-colors.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#' the scheme names listed above (e.g. "mix-teal-pink", "mix-blue-red",
3434
#' etc.). The order of \code{x} and \code{y} matters, i.e., the color
3535
#' schemes "mix-blue-red" and "mix-red-blue" are not identical. There is no
36-
#' gaurantee that every possible mixed scheme will look good with every
36+
#' guarantee that every possible mixed scheme will look good with every
3737
#' possible plot.
3838
#' }
3939
#'

R/bayesplot_grid.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#' \code{widths}, etc.).
1313
#' @param titles,subtitles Optional character vectors of plot titles and
1414
#' subtitles. If specified, \code{titles} and \code{subtitles} must must have
15-
#' length equal to the number of plots speficied.
15+
#' length equal to the number of plots specified.
1616
#' @param xlim,ylim Optionally, numeric vectors of length 2 specifying lower and
1717
#' upper limits for the axes that will be shared across all plots.
1818
#' @param legends If any of the plots have legends should they be displayed?

R/example-data.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ NULL
5252

5353
#' @rdname example-data
5454
#' @export
55-
#' @param chains An interger between 1 and 4 indicating the desired number of
55+
#' @param chains An integer between 1 and 4 indicating the desired number of
5656
#' chains.
5757
#' @param params An integer between 1 and 6 indicating the desired number of
5858
#' parameters.

R/mcmc-combo.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#' relative column widths. For example, if the plot has two columns, then
1414
#' \code{widths = c(2, 1)} will allocate more space for the first column by a
1515
#' factor of 2 (as would \code{widths = c(.3, .15)}, etc.). The default,
16-
#' \code{NULL}, allocates the same horiztonal space for each column.
16+
#' \code{NULL}, allocates the same horizontal space for each column.
1717
#' @param gg_theme Unlike most of the other \pkg{bayesplot} functions,
1818
#' \code{mcmc_combo} returns a gtable object rather than a ggplot object, and
1919
#' so theme objects can't be added directly to the returned plot object. The

R/mcmc-diagnostics-nuts.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@
9494
#' @seealso
9595
#' \itemize{
9696
#' \item The \emph{Visual MCMC Diagnostics} vignette.
97-
#' \item Several other plotting functions in the \pkg{bayesplot}
98-
#' package that aren't NUTS-specific but take optional extra arguments
99-
#' if the model was fit using NUTS:
97+
#' \item Several other plotting functions in the \pkg{bayesplot} package that
98+
#' are not NUTS-specific but take optional extra arguments if the model was fit
99+
#' using NUTS:
100100
#' \itemize{
101101
#' \item \code{\link{mcmc_trace}} will plot divergences on the traceplot if the
102102
#' optional \code{divergences} argument is specified.

R/mcmc-scatterplots.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#' (roughly) half are displayed above the diagonal and half are below (all
4747
#' chains are always merged together for the plots along the diagonal). Other
4848
#' possibilities are available by setting the \code{condition} argument.
49-
#' Additionally, extra diagonistic information for models fit using
49+
#' Additionally, extra diagnostic information for models fit using
5050
#' \code{\link{NUTS}} can be added to the pairs plot using the \code{lp},
5151
#' \code{np}, and \code{np_style} arguments.
5252
#' }
@@ -392,7 +392,7 @@ mcmc_pairs <- function(x,
392392
#' @rdname MCMC-scatterplots
393393
#' @export
394394
#' @param div_color,div_shape,div_size,td_color,td_shape,td_size Optional
395-
#' rguments to the \code{pairs_style_np} helper function that are eventually
395+
#' arguments to the \code{pairs_style_np} helper function that are eventually
396396
#' passed to \code{\link[ggplot2]{geom_point}}. They control the color, shape,
397397
#' and size specifications for points representing divergences (\code{div})
398398
#' and points indicating hitting the maximum treedepth (\code{td}). See the

R/ppc-overview.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#' \eqn{X} we denote the resulting simulations by \eqn{y^{rep}}{yrep} as they
4040
#' can be thought of as \emph{replications} of the outcome \eqn{y} rather than
4141
#' predictions for future observations. This corresponds to the notation from
42-
#' Gelman et. al. (2013) and is the notation used throughtout the documentation
42+
#' Gelman et. al. (2013) and is the notation used throughout the documentation
4343
#' for this package.
4444
#' }
4545
#' \subsection{Graphical posterior predictive checking}{

man/MCMC-combos.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/MCMC-nuts.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/MCMC-scatterplots.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)