Skip to content

Commit

Permalink
rxCov should not be included; exclude manually
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Sep 6, 2024
1 parent c26ef93 commit 9e4b8c3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion R/indDef.R
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,13 @@
return(.c)
})
.ret$cov <- .monolix2rx$cov
.ret$coef <- .coef
.ret$coef <- lapply(seq_along(.coef),
function(i) {
.cur <- .coef[[i]]
.w <- which(grepl("^rxCov_", .cur))
if (length(.w) >= 1) .cur <- .cur[-.w]
.cur
})
.rx <- paste0(.rx, " + ",
paste(vapply(seq_along(.ret$coef),
function(i) {
Expand Down

0 comments on commit 9e4b8c3

Please sign in to comment.