View source: R/model.R View source: R/main_model.R
update_m_list | R Documentation |
Update the m parameter for each cluster
update_m_list( Y, m_not_vector, phi_matrix, K, A_vector, R_vector, probability_matrix, x, nbasis, sigma_list )
Y |
The matrix containing rows corresponding the curves |
m_not_vector |
The vector containing m_not values for each cluster |
phi_matrix |
A matrix of the coffecient vectors for each cluster, phi_k, of the basis matrix B |
K |
The total number of clusters |
A_vector |
A vector |
R_vector |
A vector |
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 |
nbasis |
The number of basis functions |
sigma_list |
A list of the updated sigma parameters for each cluster |
A list of the updated m parameters for each cluster
update_m_list(K, A_vector, R_vector, probability_matrix, x, nbasis)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.