R/AnalysisModel.MultAdj.R

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

# Function: AnalysisModel.MultAdj
# Argument: MultAdj object.
# Description: This function is called by default if the class of the argument is a MultAdj object.
#' @export
AnalysisModel.MultAdj = function(multadj, ...) {

  analysismodel = AnalysisModel()
  analysismodel = analysismodel + multadj

  args = list(...)
  if (length(args)>0) {
    for (i in 1:length(args)){
      analysismodel = analysismodel + args[[i]]
    }
  }
  return(analysismodel)

}

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.