Learn R Programming

mixtools (version 2.0.0)

parse.constraints: Constraint Function

Description

Constraint function for some mixture EM algorithms.

Usage

parse.constraints(constr, k = 2, allsame = FALSE)

Arguments

constr

Vector indicating constrained/unconstrained means.

k

Number of components.

allsame

Logical indicating for processing the constraints.

Details

This function is not intended to be called by the user.