R/get.theta.r

Defines functions get.theta

Documented in get.theta

globalVariables('Parameter')
# ROXYGEN Documentation
#' Summary: THETA estimates
#' @description  Subset parameter estimate table by THETAs
#' @param run run rootname (e.g. run1)
#' @param path directory where rootname.ext resides
#' @param runIndex passed to \code{\link{nm.params.table}}
#' @param ... additional arguments passed to \code{nm.params.table}.
#' @return data frame with THETA estimates, coefficient of variation, standard error, and estimated/fixed information.
#' @export
#' @seealso \code{\link{nm.params.table}}, \code{\link{get.omega}}, \code{\link{get.sigma}}
#' @examples
#' get.theta("example1",  path = getOption("qpExampleDir"), fixed.text = "(fixed to 0)")
get.theta <- function(run
                   , path = getOption("nmDir")
                   , runIndex
                   , ...
)
{
   partab <- nm.params.table(run = run, path = path, runIndex = runIndex, ...)
   subset(partab,grepl("THETA",Parameter))
}
qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.