Skip to content

Commit

Permalink
minor doc cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Sep 13, 2015
1 parent 1932b50 commit a5bcf17
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions R/brm.R
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@
#'
#' \bold{Prior distributions}
#'
#' As of \pkg{brms} 0.5.0, priors should be specified using the
#' \code{\link[brms:set_prior]{set_prior}} function. Its documentation
#' contains detailed information on how to correctly specify priors.
#' As of \pkg{brms} 0.5.0, priors should be specified using the \code{\link[brms:set_prior]{set_prior}} function.
#' Its documentation contains detailed information on how to correctly specify priors.
#' To find out on which parameters or parameter classes priors can be defined, use \code{\link[brms:get_prior]{get_prior}}.
#'
#' @examples
#' \dontrun{
Expand All @@ -174,7 +174,7 @@
#' ## Ordinal regression (with family 'sratio') modeling patient's rating
#' ## of inhaler instructions using normal priors for fixed effects parameters
#' fit_i <- brm(rating ~ treat + period + carry, data = inhaler,
#' family = "sratio", prior = set_prior("normal(0,5)"))
#' family = "sratio", prior = set_prior("normal(0,5)"))
#' summary(fit_i)
#' plot(fit_i)
#'
Expand Down
8 changes: 4 additions & 4 deletions man/brm.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ Fit a generalized linear mixed model, which incorporates both fixed-effects para

\bold{Prior distributions}

As of \pkg{brms} 0.5.0, priors should be specified using the
\code{\link[brms:set_prior]{set_prior}} function. Its documentation
contains detailed information on how to correctly specify priors.
As of \pkg{brms} 0.5.0, priors should be specified using the \code{\link[brms:set_prior]{set_prior}} function.
Its documentation contains detailed information on how to correctly specify priors.
To find out on which parameters or parameter classes priors can be defined, use \code{\link[brms:get_prior]{get_prior}}.
}
\examples{
\dontrun{
Expand All @@ -210,7 +210,7 @@ ranef(fit_e)
## Ordinal regression (with family 'sratio') modeling patient's rating
## of inhaler instructions using normal priors for fixed effects parameters
fit_i <- brm(rating ~ treat + period + carry, data = inhaler,
family = "sratio", prior = set_prior("normal(0,5)"))
family = "sratio", prior = set_prior("normal(0,5)"))
summary(fit_i)
plot(fit_i)

Expand Down

0 comments on commit a5bcf17

Please sign in to comment.