plotLC: Plot Latent Classes

Description Usage Arguments Value References See Also Examples

Description

Plot the item scores of latent classes estimated by the function fma.

Usage

1
plotLC(dataset, fit, fn=mean, ylim = NULL, bw = FALSE)

Arguments

dataset

Data frame containing raw data.

fit

Output of the function fma.

fn

Function scoring for items.

ylim

Limits of vertical axis for the graph.

bw

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

Value

A graphical output showing the response pattern of each class.

References

~~ Literature or other references for background information ~~

See Also

fma

Examples

1
2
3
4
5
6
## Not run: 
data(fmaDemo)
fit3 <- fma(fmaDemo, k=3, r=2)
plotLC(fmaDemo, fit3)

## End(Not run)

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