Description Usage Arguments Details
View source: R/viz_functions.R
vizTheta
plots θ, the parameters which govern the sub-population distributions of variables in a mixed membership model.
The parameter θ_{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.
1 2 |
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. |
This is the function called by the plot generic function for mixedMemModel
objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.