Extracts fitted probabilities and/or flags from a foehnix mixture model.

# S3 method for foehnix
fitted(object, which = "probability", ...)

Arguments

object

a foehnix model object.

which

what to get as return. Can a character string, one of "probability" or "flag", or "both". Alternatively integers can be used (1, 2, or c(1,2)).

...

additional arguments, ignored.

Value

Returns a univariate or multivariate zoo object.

Author

Reto Stauffer