R/Parameter.R

###################################################################################
##                                  Parameter.R                                  ##
###################################################################################

#' Constructor of [\code{\linkS4class{Parameter}}] class
#'
#' This class defines parameters of a Mixture Model.
#'
#' \describe{
#'   \item{proportions}{a numeric vector containing proportions of the mixture model.}
#' }
#'
#' @examples
#' getSlots("Parameter")
#' @name Parameter-class
#' @rdname Parameter-class
#' @exportClass Parameter
#'
setClass(
  Class = "Parameter",
  representation = representation(
    proportions = "numeric",
    nbFreeParam = "numeric",
    "VIRTUAL"
  ),
  prototype = prototype(
    proportions = numeric(0),
    nbFreeParam = numeric(0)
  )
)

Try the Rmixmod package in your browser

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

Rmixmod documentation built on Sept. 25, 2023, 5:08 p.m.