R/PresentationModel.CustomLabel.R

Defines functions PresentationModel.CustomLabel

######################################################################################################################

# Function: PresentationModel.CustomLabel
# Argument: CustomLabel object.
# Description: This function is called by default if the class of the argument is a CustomLabel object.
#' @export
PresentationModel.CustomLabel = function(customlabel, ...) {
  presentationmodel = PresentationModel()
  presentationmodel = presentationmodel + customlabel

  args = list(...)
  if (length(args)>0) {
    for (i in 1:length(args)){
      presentationmodel = presentationmodel + args[[i]]
    }
  }
  return(presentationmodel)
}
gpaux/Mediana documentation built on May 31, 2021, 1:22 a.m.