Learn R Programming

mmds (version 1.1)

getpars: Grab parameter values

Description

Extract parameter values and create a named list.

Usage

getpars(fpar, mix.terms, zdim = 0, z = NULL)

Arguments

fpar
The $par element ds.mixture object.
mix.terms
Number of mixture components.
zdim
Number of covariates.
z
Covariate matrix.

Value

a named list with elements $key.scale (giving the key scales) and $mix.prop giving the mixture proportions.