diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-11-09 17:24:53 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-11-09 17:24:53 +0100 |
commit | aa74f5a30853fb0a15c99c283e072f08ee819149 (patch) | |
tree | 988ec89e22b48fff4544653a4c3443356bab3071 /R/saemix.R | |
parent | a1631098acfc3352e19c331e568bd6f5766b3c3d (diff) |
saemix.mmkin and nlme.mmkin inherit from mixed.mmkin
With a plot method. The class mixed.mmkin is currently only a virtual
class created to unify the plotting method.
Diffstat (limited to 'R/saemix.R')
-rw-r--r-- | R/saemix.R | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -24,8 +24,9 @@ #' @param \dots Further parameters passed to [saemix::saemixData] #' and [saemix::saemixModel]. #' @return An S3 object of class 'saem.mmkin', containing the fitted -#' [saemix::SaemixObject] as a list component named 'so'. -#' @seealso [summary.saem.mmkin] +#' [saemix::SaemixObject] as a list component named 'so'. The +#' object also inherits from 'mixed.mmkin'. +#' @seealso [summary.saem.mmkin] [plot.mixed.mmkin] #' @examples #' \dontrun{ #' ds <- lapply(experimental_data_for_UBA_2019[6:10], @@ -134,7 +135,7 @@ saem.mmkin <- function(object, Rversion = paste(R.version$major, R.version$minor, sep=".") ) - class(result) <- "saem.mmkin" + class(result) <- c("saem.mmkin", "mixed.mmkin") return(result) } |