File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 149149# '
150150# ' \bold{Prior distributions}
151151# '
152- # ' As of \pkg{brms} 0.5.0, priors should be specified using the
153- # ' \code{\link[brms:set_prior]{set_prior}} function. Its documentation
154- # ' contains detailed information on how to correctly specify priors.
152+ # ' As of \pkg{brms} 0.5.0, priors should be specified using the \code{\link[brms:set_prior]{set_prior}} function.
153+ # ' Its documentation contains detailed information on how to correctly specify priors.
154+ # ' To find out on which parameters or parameter classes priors can be defined, use \code{\link[brms:get_prior]{get_prior}}.
155155# '
156156# ' @examples
157157# ' \dontrun{
174174# ' ## Ordinal regression (with family 'sratio') modeling patient's rating
175175# ' ## of inhaler instructions using normal priors for fixed effects parameters
176176# ' fit_i <- brm(rating ~ treat + period + carry, data = inhaler,
177- # ' family = "sratio", prior = set_prior("normal(0,5)"))
177+ # ' family = "sratio", prior = set_prior("normal(0,5)"))
178178# ' summary(fit_i)
179179# ' plot(fit_i)
180180# '
Original file line number Diff line number Diff line change @@ -185,9 +185,9 @@ Fit a generalized linear mixed model, which incorporates both fixed-effects para
185185
186186 \bold {Prior distributions }
187187
188- As of \pkg {brms } 0.5.0 , priors should be specified using the
189- \ code {\ link [ brms : set_prior ]{ set_prior }} function . Its documentation
190- contains detailed information on how to correctly specify priors.
188+ As of \pkg {brms } 0.5.0 , priors should be specified using the \ code {\ link [ brms : set_prior ]{ set_prior }} function .
189+ Its documentation contains detailed information on how to correctly specify priors.
190+ To find out on which parameters or parameter classes priors can be defined , use \ code {\ link [ brms : get_prior ]{ get_prior }} .
191191}
192192\examples {
193193\dontrun {
@@ -210,7 +210,7 @@ ranef(fit_e)
210210# # Ordinal regression (with family 'sratio') modeling patient's rating
211211# # of inhaler instructions using normal priors for fixed effects parameters
212212fit_i <- brm(rating ~ treat + period + carry , data = inhaler ,
213- family = " sratio" , prior = set_prior(" normal(0,5)" ))
213+ family = " sratio" , prior = set_prior(" normal(0,5)" ))
214214summary(fit_i )
215215plot(fit_i )
216216
You can’t perform that action at this time.
0 commit comments