poLCA.makeplot.dich {poLCA} | R Documentation |
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.
poLCA.makeplot.dich(probs, P, y, ti)
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. |
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.
This function is simply an elaborate invocation of the scatterplot3d
command in the scatterplot3d package.