poLCA.makeplot.poly {poLCA} | R Documentation |
This function plots estimated response probabilities to a series of polytomous outcome variables, conditional on estimated class membership.
poLCA.makeplot.poly(probs, r, y, K.j, ti)
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. |
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.
This function is simply an elaborate invocation of the scatterplot3d
command in the scatterplot3d package.