Learn R Programming

poLCA (version 1.2)

poLCA.makeplot.dich: Plot multi-item dichotomous response probabilities

Description

This function plots estimated response probabilities to a series of dichotomous outcome variables, conditional on estimated class membership, for an aribitrary number of classes. It also shows the estimated population proportion in each class.

Usage

poLCA.makeplot.dich(probs, P, y, ti)

Arguments

probs
a list of length equal to the number of outcome variables, containing estimated conditional item response probabilities for each question and class.
P
class membership proportions.
y
matrix of observed outcome variables.
ti
title of upper plot.

Details

This function is designed to be called internally from poLCA only when the attribute graphs is set to TRUE, and only when every outcome item is dichotomous. If one or more dependent variables are polytomous, then the poLCA function will instead call poLCA.makeplot.poly to plot the relevant information.

See Also

poLCA, poLCA.makeplot.poly