Skip to content

Commit

Permalink
The creation of getGroups.PKNCAdata for use within PKNCA
Browse files Browse the repository at this point in the history
  • Loading branch information
DBartlettHP committed Nov 4, 2024
1 parent 6e33ed6 commit 32a6b03
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions R/class-PKNCAdata.R
Original file line number Diff line number Diff line change
Expand Up @@ -226,3 +226,13 @@ print.PKNCAdata <- function(x, ...) {
summary.PKNCAdata <- function(object, ...) {
print.PKNCAdata(object, summarize=TRUE, ...)
}

#' Get the groups
#'
#' @param object The object to extract the data from
#' @param ... Arguments passed to other getGroups functions
#' @returns A data frame with the (selected) group columns.
#' @export
getGroups.PKNCAdata <- function(object, ...) {
getGroups(as_PKNCAconc(object), ...)
}

0 comments on commit 32a6b03

Please sign in to comment.