coef.foehnix: Get Estimated Mixture Model Coefficients

View source: R/foehnix_functions.R

coef.foehnixR Documentation

Get Estimated Mixture Model Coefficients

Description

Returns the estimated coefficients of a foehnix mixture model for both, the components and the concomitant model (if specified).

Usage

## S3 method for class 'foehnix'
coef(object, type = "parameter", ...)

Arguments

object

a foehnix object.

type

character, either "parameter" "coefficients", see 'Details' section.

...

additional arguments, ignored.

Details

Returns the coefficients of the mixture model. If type = "parameter" the parameters of the mixture model components are returned on the 'true' scale (parameter scale), else on the link scale (as used for optimization). For each component the location and scale parameters are returned. If a concomitant model has been specified, the coefficients of the (possibly regularized) logistic regression model are returned as well (concomitant model).

Value

Returns a coef.foehnix object with the estimated coefficients.

Author(s)

Reto Stauffer

See Also

foehnix, iwls_logit.


retostauffer/Rfoehnix documentation built on June 5, 2023, 11:39 p.m.