View source: R/fmx_constraint.R
| user_constraint | R Documentation |
Formalize user-specified constraint of fmx object
user_constraint(x, distname, K)
x |
character vector, constraint(s) to be imposed.
For example, for a two-component Tukey |
distname |
character scalar, name of distribution |
K |
integer scalar, number of components |
The function [user_constraint()] returns the indices of internal parameters
(only applicable to Tukey's g-&-h mixture distribution, yet) to be constrained,
based on the type of distribution 'distname', number of components 'K'
and a user-specified string (e.g., ‘c(’g2', 'h1')').
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.