\name{getAllParameters} \alias{getAllParameters} \title{ This fetches back a list of mcmc.list (or mcmc) objects, one for each parameter set in the model. } \usage{getAllParameters(model, iterations=numeric(0), chain=getChains(), maxparams=99) } \arguments{ \item{model}{Name of model to select.} \item{iterations}{Vector giving first and last cycle to extract from database, if omitted all iterations are fetched} \item{chain}{List giving chains to extract, if omitted all chains are fetched. } \item{maxparams}{A interger given the maximum number of parameter to be read in a parameter set. This saves reading really big parameter into memory and may avoid memory problems on some PCs. } } \description{ This fetches back a list of \code{mcmc.list} (or \code{mcmc} if length of \code{chain} is 1) objects, one for each parameter set in the model. Note that parameter sets are typically vector or matrix valued, and correspond to the variables in the model. } \seealso{ \code{\link{asp.dbConnect}}, \code{\link{listModels}}, \code{\link{getParameterVector}}, \code{\link{getParameter}}, \code{\link{getVariable}} } \examples{ ### This example will only run if you have the StatShop test databases ### installed on your machine. StatShop <- Sys.getenv("STATSHOP") if (StatShop == "") { warn("StatShop not installed, skipping test.") } else { asp.dbConnect("mcmc_statistics_test","junit") ## Get all parameters for the student model. smp <- getAllParameters(listStudentModels()[1]) ## Get a summary of each one lapply(smp, summary) asp.dbDisconnect() } } \keyword{database}