getThetas | R Documentation |
Get theta Parameters from a Numeric Vector of Cluster Labels and Unique phi Values
getThetas(partition, phi)
partition |
A numeric vector representing a partition of the integers 1, ..., n using cluster labels |
phi |
A list of unique model parameters whose length must equal the
number of unique cluster labels in |
A numeric vector of model parameters theta_1, ..., theta_n.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.