Skip to content

Commit

Permalink
Better multiple endpoint ui fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Sep 15, 2018
1 parent e922939 commit 58f4cca
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions R/ui.R
Expand Up @@ -1750,10 +1750,12 @@ nlmixrUI.saem.model <- function(obj){
##' @return SAEM theta names
##' @author Matthew L. Fidler
nlmixrUI.saem.theta.name <- function(uif){
trans <- uif$saem.theta.trans
trans.name <- paste(uif$ini$name[which(!is.na(trans))]);
trans <- trans[!is.na(trans)]
theta.name <- trans.name[order(trans)]
.trans <- uif$saem.theta.trans
.df <- as.data.frame(uif$ini);
.df <- .df[!is.na(.df$ntheta), ]
.transName <- paste(.df$name[which(!is.na(.trans))]);
.trans <- .trans[!is.na(.trans)]
theta.name <- .transName[order(.trans)]
all.covs <- uif$saem.all.covs
lc <- length(all.covs);
if (lc > 0){
Expand Down

0 comments on commit 58f4cca

Please sign in to comment.