Skip to content

Commit

Permalink
Filter for missing RES (for log-likelihood)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Sep 20, 2022
1 parent b9ae543 commit cef4e2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/plot.nlmixr2.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.setupPlotData <- function(data) {
.dat <- as.data.frame(data)
.dat <- .dat[!is.na(.dat$RES),]
.doCmt <- FALSE
if (any(names(.dat) == "CMT")) {
if (length(levels(.dat$CMT)) > 1) {
Expand Down

0 comments on commit cef4e2c

Please sign in to comment.