Skip to content

Commit

Permalink
Bug fix for vpcPlot()
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Apr 12, 2024
1 parent 3332dc8 commit e900df0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: nlmixr2plot
Title: Nonlinear Mixed Effects Models in Population PK/PD, Plot Functions
Version: 2.0.8
Version: 2.0.9
Authors@R: c(
person("Matthew", "Fidler", email="matthew.fidler@gmail.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-8538-6691")),
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# nlmixr2plot 2.0.9

* Bug fix for `vpcPlot()` where input data frame for models did not
stratify all the time when the columns were upper case.

# nlmixr2plot 2.0.8

* `plot()` now returns a named list of lists so that users can more easily
Expand Down
2 changes: 1 addition & 1 deletion R/vpcPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ vpcCens <- function(..., cens=TRUE, idv="time") {
.obs <- .obs[which(tolower(names(.obs)) != "cens")]
}
list(namesObs=.no,
namesObsLower=.nol,
namesObsLower=tolower(.nol),
obs=.obs,
obsCols=.obsCols)
}

0 comments on commit e900df0

Please sign in to comment.