Description Usage Arguments See Also

A sub-function of `StagedChoiceSplineMix`

. This function generates initial values for mixtures of logistic regressions. This function is used if starting points for parameters are not specified by the user or when the EM algorithm needs to be initialized due to errors.

1 | ```
gen.init(y, x, k, er)
``` |

`y` |
See |

`x` |
See |

`k` |
See |

`er` |
The total number of errors. See |

`StagedChoiceSplineMix`

"mixtools" package version 1.0.3

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.