R/PresentationModel.CustomLabel.R

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

# 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)
}

Try the Mediana package in your browser

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

Mediana documentation built on May 8, 2019, 5:04 p.m.