Skip to content

Commit

Permalink
add remark in manual on how to use only 1 CPU/core instead of paralle…
Browse files Browse the repository at this point in the history
…l sampling
  • Loading branch information
danheck committed May 10, 2024
1 parent 5389e3a commit b3c0da9
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 15 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: TreeBUGS
Version: 1.5.2
Date: 2024-04-08
Date: 2024-05-10
Title: Hierarchical Multinomial Processing Tree Modeling
Authors@R: c(person("Daniel W.", "Heck", role=c("aut","cre"),
email="daniel.heck@uni-marburg.de",
Expand Down
12 changes: 8 additions & 4 deletions R/fitBetaMPT.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
#' @param n.burnin Number of samples for burnin (samples will not be stored and
#' removed from n.iter)
#' @param n.thin Thinning rate.
#' @param n.chains number of MCMC chains (sampled in parallel).
#' @param n.chains number of MCMC chains (sampled in parallel, which can be
#' changed via the additional argument \code{n.sim = 1}).
#' @param dic whether to compute DIC using
#' \code{\link[runjags]{extract.runjags}}, which requires additional sampling.
#' Can also be computed and added after fitting the model by
Expand Down Expand Up @@ -90,9 +91,12 @@
#' \code{list(startburnin = 1000, startsample = 5000, adapt = 2000,
#' max.time="30m")} (the last of these arguments restricts sampling to 30
#' minutes, see \link[runjags]{autoextend.jags}).
#' @param ... further arguments to be passed to the JAGS sampling function
#' (i.e., to \code{\link[runjags]{run.jags}}. Note that reproducible results
#' are obtained by setting a random seed before fitting a model (i.e.,
#' @param ... further arguments passed to the JAGS sampling function
#' \code{\link[runjags]{run.jags}}. The number of CPUs/cores for
#' the \code{"parallel"} method can be changed via the argument \code{n.sim = 1}.
#' It is also possible to provide an existing \code{parallel} cluster object
#' via the argument \code{cl}. Reproducible results can be
#' obtained by setting a random seed before fitting a model (i.e.,
#' \code{set.seed(12345)} ).
#'
#' @details Note that, in the Beta-MPT model, correlations of individual MPT
Expand Down
12 changes: 8 additions & 4 deletions man/betaMPT.Rd

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

3 changes: 2 additions & 1 deletion man/betaMPTcpp.Rd

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

3 changes: 2 additions & 1 deletion man/simpleMPT.Rd

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

12 changes: 8 additions & 4 deletions man/traitMPT.Rd

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

0 comments on commit b3c0da9

Please sign in to comment.