View source: R/model.R View source: R/main_model.R
update_R_vector | R Documentation |
Update the d parameter for each cluster
update_R_vector( Y, K, probability_matrix, x, sigma_list, m_list, nbasis, beta_vector )
Y |
The matrix containing rows corresponding the curves |
K |
The total number of clusters |
probability_matrix |
A matrix in which the rows represent the probabilities that the curve is in each of the clusters |
x |
The x used to generate the clusters |
sigma_list |
A list of the updated sigma_list parameters for each cluster |
m_list |
A vlist of the updated m parameters for each cluster |
nbasis |
The number of basis functions] |
beta_vector |
A vector of the beta parameters for each cluster |
A vector of the updated R parameters for each cluster
update_R_vector(Y, K, probability_matrix, x, sigma_list, m_list, nbasis, beta_vector)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.