Nothing
#' Preprocess Covariates needed (or other data items)
#'
#' @param ui rxode2 ui
#' @inheritParams nlmixr2
#' @return list with the ui (possibly modified)
#' @export
#' @author Matthew L. Fidler
.nlmixr0preProcessCovariatesPresent <- function(ui, est, data, control) {
# Could later support stacking data or custom DV/IDV columns.
if (!missing(data) &&
length(data) > 0L &&
isTRUE(attr(utils::getS3method("nlmixr2Est", est), "covPresent"))) {
.covNames <- ui$covariates
.newNames <- .nmUpcaseNonCov(names(data), .covNames)
colnames(data) <- .newNames
requiredCols <- c("TIME", .covNames)
checkmate::assert_names(.newNames, must.include = requiredCols)
}
NULL
}
preProcessHooksAdd(".nlmixr0preProcessCovariatesPresent", .nlmixr0preProcessCovariatesPresent)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.