flexmix (version 2.3-15)

fabricfault: Fabric Faults

Description

Number of faults in rolls of a textile fabric.

Usage

data("fabricfault")

Arguments

Format

A data frame with 32 observations on the following 2 variables.

Length

Length of role (m).

Faults

Number of faults.

References

A. F. Bissell. A Negative Binomial Model with Varying Element Sizes Biometrika, 59, 435--441, 1972.

M. Aitkin. A general maximum likelihood analysis of overdispersion in generalized linear models. Statistics and Computing, 6, 251--262, 1996.

Examples

Run this code
# NOT RUN {
data("fabricfault", package = "flexmix")
fabricMix <- initFlexmix(Faults ~ 1, data = fabricfault, k = 2,
                         model = FLXMRglmfix(family = "poisson",
                           fixed = ~ log(Length)), 
                         nrep = 5)
# }

Run the code above in your browser using DataCamp Workspace