multifma: Information Criteria for Multiple Factor Mixture Models

Description Usage Arguments Details Value References See Also Examples

Description

Fit simultaneously a factor mixture model for k classes and r factors.

Usage

1
2
multifmaIC(dataset, k, r, ...)
tileplot(object, index = "BIC", main = NULL, legend.text = NULL, bw = FALSE)

Arguments

dataset

Data frame or matrix with observed data.

k

The number of the mixture components.

r

The number of factors.

...

Further arguments for the function fma.

object

An object fitted with multifmaIC.

index

Character string indicating the index to display.

main

Text to use as title for the plot.

legend.text

Text to use as title for legend of the plot.

bw

Logical value indicating if the graph must be filled in black and white.

Details

~~ Insert details ~~

Value

The function multifmaIC returns a list factors*classes; this output can be visualized using the function tileplot, which shows a tileplot for the distribution of a given index.

References

~~ Literature or other references for background information ~~

See Also

fma

Examples

1
2
3
4
5
6
## Not run: 
data(fmaDemo)
fit <- multifmaIC(fmaDemo, k=1:5, r=1:5)
tileplot(fit)

## End(Not run)

DavideMassidda/fmaTools documentation built on May 6, 2019, 1:55 p.m.