Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
tjmahr committed May 17, 2019
1 parent 021a010 commit 4a94f36
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
7 changes: 4 additions & 3 deletions R/bayesplot-ggplot-themes.R
Expand Up @@ -2,13 +2,14 @@
#'
#' The [theme_default()] function returns the default ggplot
#' [theme][ggplot2::theme] used by the **bayesplot** plotting functions. See
#' [bayesplot_theme_set()] for details on setting and updating the plotting theme.
#' [bayesplot_theme_set()] for details on setting and updating the plotting
#' theme.
#'
#' @export
#' @param base_size,base_family Base font size and family (passed to
#' [ggplot2::theme_bw()]). It is possible to set `"bayesplot.base_size"` and
#' `"bayesplot.base_family"` via [options()] to change the defaults, w
#' hich are `12` and `"serif"`, respectively.
#' `"bayesplot.base_family"` via [options()] to change the defaults, which are
#' `12` and `"serif"`, respectively.
#' @return A ggplot [theme][ggplot2::theme] object.
#'
#' @seealso [bayesplot_theme_set()] to change the ggplot theme.
Expand Down
8 changes: 5 additions & 3 deletions R/mcmc-diagnostics-nuts.R
@@ -1,7 +1,8 @@
#' Diagnostic plots for the No-U-Turn-Sampler (NUTS)
#'
#' Diagnostic plots for the No-U-Turn-Sampler (NUTS), the default MCMC algorithm
#' used by [Stan](https://mc-stan.org). See the **Plot Descriptions** section, below.
#' used by [Stan](https://mc-stan.org). See the **Plot Descriptions** section,
#' below.
#'
#' @name MCMC-nuts
#' @aliases NUTS
Expand Down Expand Up @@ -55,7 +56,8 @@
#' \item{`mcmc_nuts_divergence()`}{
#' Two plots:
#' * Violin plots of `lp__|divergent__=1` and `lp__|divergent__=0`.
#' * Violin plots of `accept_stat__|divergent__=1` and `accept_stat__|divergent__=0`.
#' * Violin plots of `accept_stat__|divergent__=1` and
#' `accept_stat__|divergent__=0`.
#' }
#'
#' \item{`mcmc_nuts_stepsize()`}{
Expand Down Expand Up @@ -89,7 +91,7 @@
#' * [mcmc_trace()]: show divergences as tick marks below the
#' trace plot.
#' * [mcmc_parcoord()]: change the color/size/transparency of lines
#' correspondending to divergences.
#' corresponding to divergences.
#' * [mcmc_scatter()]: change the color/size/shape of points
#' corresponding to divergences.
#' * [mcmc_pairs()]: change the color/size/shape of points
Expand Down
8 changes: 5 additions & 3 deletions man/MCMC-nuts.Rd

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

7 changes: 4 additions & 3 deletions man/theme_default.Rd

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

0 comments on commit 4a94f36

Please sign in to comment.