Description Usage Arguments Details
View source: R/viz_functions.R
vizMem
plots estimates for the group membership scores of each individual. This is the function called by the mixedMemModel
class
generic plot function.
1 2 |
model |
the |
compare |
a matrix of the same dimensions as |
main |
the main figure title. |
nrow |
the number of rows in each plot. |
ncol |
the number of columns in each plot. |
indices |
the specific individuals which will be shown in the plot. If the argument is left blank, all individuals will be plotted.
If the number of individuals to be plotted is larger than |
groupNames |
a vector specifying labels for each sub-population. |
fitNames |
a vector of length 2 containing strings which correspond to the names of the models (fitted and comparison). |
The estimates plotted are the normalized φ, which are the posterior means from the variational distribution. The estimated group membership scores are shown in black, and the estimates from a comparison model (if available) are shown in red. Each plot represents an individual.
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.