R/MixtureModel.R

setClass(
  Class ="MixtureModel",
  representation = representation(
  augData = "list",
  model = "character",
  id = "character",
  type = "character"
  )
)

setMethod(
  f = "initialize",
  signature = c("MixtureModel"),
  definition = function(.Object, augData, model, id, type){ 
    .Object@augData <- augData
    .Object@model   <- model
    .Object@id      <- id
    .Object@type    <- type
    return(.Object)
  }
)

Try the RMixtComp package in your browser

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

RMixtComp documentation built on May 2, 2019, 5:16 p.m.