R/monolixRxUiGetMlxtranCovariate.R

Defines functions rxUiGet.mlxtranModelCovariate

#' @export
rxUiGet.mlxtranModelCovariate <- function(x, ...) {
  .ui <- x[[1]]
  .both <- .ui$saemInParsAndMuRefCovariates
  if (length(.both$covars) > 0) {
    return(paste0("[COVARIATE]\ninput = {",
                  paste(.both$covars, collapse=", "), "}\n\n"))
  }
  ""
}
nlmixr2/babelmixr documentation built on Sept. 29, 2024, 12:39 p.m.