\name{listSubjects} \alias{listSubjects} \title{ Returns a vector of subjects for which there are monitor records in the StatShop database. } \usage{ listSubjects(model) listSubjects() } \arguments{ \item{model}{Name of model to select. If left blank, uses the statistics table.} } \description{ Returns a vector of strings giving the UIDs for subjects appearing the in the database, that is, those students who were monitored. A connection to the database must be open before this function can be run. } \seealso{ \code{\link{asp.dbConnect}}, \code{\link{listModels}}, \code{\link{listVariables}}, \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") listSubjects() asp.dbDisconnect() } } \keyword{database}