Skip to content

Commit b5db3c1

Browse files
committed
devtools spell check
[ci skip]
1 parent c797fa0 commit b5db3c1

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

R/mcmc-overview.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#' }
3131
#' \strong{Note}: typically the user should \emph{not} include warmup iterations
3232
#' in the object passed to \pkg{bayesplot} plotting functions, although for
33-
#' certain plots (e.g. traceplots) it can occasionally be useful to include the
33+
#' certain plots (e.g. trace plots) it can occasionally be useful to include the
3434
#' warmup iterations for diagnostic purposes.
3535
#'
3636
#' @section MCMC plotting functions:
@@ -43,14 +43,14 @@
4343
#' \item{\strong{\link[=MCMC-intervals]{Uncertainty intervals}}}{
4444
#' Uncertainty intervals computed from parameter draws.
4545
#' }
46-
#' \item{\strong{\link[=MCMC-traces]{Traceplots}}}{
46+
#' \item{\strong{\link[=MCMC-traces]{Trace plots}}}{
4747
#' Times series of parameter draws.
4848
#' }
4949
#' \item{\strong{\link[=MCMC-scatterplots]{Scatterplots}}}{
5050
#' Scatterplots, heatmaps, and pairs plots of parameter draws.
5151
#' }
5252
#' \item{\strong{\link[=MCMC-combos]{Combinations}}}{
53-
#' Combination plots (e.g. traceplot + histogram).
53+
#' Combination plots (e.g. trace plot + histogram).
5454
#' }
5555
#' \item{\strong{\link[=MCMC-diagnostics]{General MCMC diagnostics}}}{
5656
#' MCMC diagnostic plots including Rhat, effective sample size,

R/mcmc-traces.R

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#' Traceplot (time series plot) of MCMC draws
1+
#' Trace plot (time series plot) of MCMC draws
22
#'
3-
#' Traceplot of MCMC draws. See the \strong{Plot Descriptions} section, below,
4-
#' for details.
3+
#' Trace plot (or traceplot) of MCMC draws. See the \strong{Plot Descriptions}
4+
#' section, below, for details.
55
#'
66
#' @name MCMC-traces
77
#' @family MCMC
@@ -29,7 +29,7 @@
2929
#' integrator}), an optional data frame providing NUTS diagnostic
3030
#' information. The data frame should be the object returned by
3131
#' \code{\link{nuts_params}} or one with the same structure. If \code{np} is
32-
#' specified then tick marks are added to the bottom of the traceplot
32+
#' specified then tick marks are added to the bottom of the trace plot
3333
#' indicating within which iterations there was a divergence (if there were any).
3434
#' See the end of the \strong{Examples} section, below.
3535
#' @param np_style A call to the \code{trace_style_np} helper function to
@@ -42,8 +42,8 @@
4242
#' @section Plot Descriptions:
4343
#' \describe{
4444
#' \item{\code{mcmc_trace}}{
45-
#' Standard traceplots of MCMC draws. For models fit using \code{\link{NUTS}},
46-
#' the \code{np} argument can be used to also show divergences on the traceplot.
45+
#' Standard trace plots of MCMC draws. For models fit using \code{\link{NUTS}},
46+
#' the \code{np} argument can be used to also show divergences on the trace plot.
4747
#' }
4848
#' \item{\code{mcmc_trace_highlight}}{
4949
#' Traces are plotted using points rather than lines and the opacity of all
@@ -57,7 +57,7 @@
5757
#' dim(x)
5858
#' dimnames(x)
5959
#'
60-
#' # traceplots of the betas
60+
#' # trace plots of the betas
6161
#' color_scheme_set("viridis")
6262
#' mcmc_trace(x, regex_pars = "beta")
6363
#' \donttest{
@@ -100,14 +100,14 @@
100100
#' color_scheme_set("brightblue")
101101
#' mcmc_trace_highlight(x, pars = "sigma", highlight = 2, size = 2)
102102
#'
103-
#' # for models fit using HMC/NUTS divergences can be displayed in the traceplot
103+
#' # for models fit using HMC/NUTS divergences can be displayed in the trace plot
104104
#' library("rstanarm")
105105
#' fit <- stan_glm(mpg ~ ., data = mtcars,
106106
#' # next line to keep example fast and also ensure we get some divergences
107107
#' prior = hs(), iter = 400, adapt_delta = 0.8)
108108
#'
109109
#' # extract draws using as.array (instead of as.matrix) to keep
110-
#' # chains separate for traceplot
110+
#' # chains separate for trace plot
111111
#' posterior <- as.array(fit)
112112
#'
113113
#' # for stanfit and stanreg objects use nuts_params() to get the divergences
@@ -375,7 +375,7 @@ chain_colors <- function(n) {
375375
}
376376

377377

378-
# Add divergences to traceplot using geom_rug
378+
# Add divergences to trace plot using geom_rug
379379
#
380380
# @param np User's 'np' argument, if specified.
381381
# @param np_style User's 'np_style' argument, if specified.

man/MCMC-overview.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-traces.Rd

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

0 commit comments

Comments
 (0)