Learn R Programming

poLCA (version 1.2)

poLCA.makeplot.poly: Plot multi-item polytomous response probabilities

Description

This function plots estimated response probabilities to a series of polytomous outcome variables, conditional on estimated class membership.

Usage

poLCA.makeplot.poly(probs, r, y, K.j, 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.
r
class for which to plot response probabilities.
y
matrix of observed outcome variables.
K.j
vector containing number of response items for each dependent variable.
ti
title of probability plots.

Details

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

See Also

poLCA, poLCA.makeplot.dich