R/dose_adaptations.R

#_______________________________________________________________________________
#----                        dose_adaptations class                         ----
#_______________________________________________________________________________

#' 
#' Dose adaptations class.
#' 
#' @export
setClass(
  "dose_adaptations",
  representation(
  ),
  contains = "pmx_list",
  prototype = prototype(type="dose_adaptation") 
)

#_______________________________________________________________________________
#----                                  show                                 ----
#_______________________________________________________________________________

setMethod("show", signature=c("dose_adaptations"), definition=function(object) {
  doseAdaptations <- object@list
  for (index in seq_len(doseAdaptations %>% length())) {
    show(doseAdaptations[[index]])
    cat("\n")
  }
})

Try the campsis package in your browser

Any scripts or data that you put into this service are public.

campsis documentation built on Oct. 13, 2023, 5:09 p.m.