vizTheta {mixedMem} | R Documentation |
Mixed Membership Visualization
Description
vizTheta
plots \theta
, the parameters which govern the sub-population distributions of variables in a mixed membership model.
The parameter \theta_{j,k}
specifies the distribution of variable j for complete members of sub-population k. The estimated
parameters from the given model are shown in black in each plot; the parameters from a comparison model (if available) are shown in red.
Each row of plots represents a single variable, and each column of the plots represents a sub-population.
Usage
vizTheta(model, compare = NULL, main = "Estimated Theta", varNames = NULL,
groupNames = NULL, nrow = NULL, fitNames = NULL, indices = NULL)
Arguments
model |
the |
compare |
an array of the same dimensions as model$theta which contains values to compare against the fitted value. |
main |
the main figure title. |
varNames |
a vector of strings specifying labels for each variable. |
groupNames |
a vector of strings specifying labels for each sub-population. |
nrow |
the number of rows in each plot. If the argument is not specified, all variables will appear in one plot. |
fitNames |
the names of the models plotted. |
indices |
a vector which indicates specific variables to plot. If the argument is not specified, all variables will be plotted. If the number of variables to plot is greater than nrow, then multiple plots will be produced. |
Details
This is the function called by the plot generic function for mixedMemModel
objects.