getThetas: Get theta Parameters from a Numeric Vector of Cluster Labels...

View source: R/utility.R

getThetasR Documentation

Get theta Parameters from a Numeric Vector of Cluster Labels and Unique phi Values

Description

Get theta Parameters from a Numeric Vector of Cluster Labels and Unique phi Values

Usage

getThetas(partition, phi)

Arguments

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 partition

Value

A numeric vector of model parameters theta_1, ..., theta_n.


sams documentation built on April 20, 2022, 1:06 a.m.

Related to getThetas in sams...