update_m_list: Update the m parameter for each cluster

Description Usage Arguments Value Examples

View source: R/main.R

Description

Update the m parameter for each cluster

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
update_m_list(
  cluster_data,
  phi_matrix,
  number_of_clusters,
  A_vector,
  R_vector,
  probability_matrix,
  sequence,
  nbasis,
  sigma_list
)

Arguments

number_of_clusters

The total number of cluster

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

sequence

The sequence used to generate the clusters

nbasis

The number of basis functions

sigma_vector

A vector of the updated sigma parameters for each cluster

Value

A list of the updated m parameters for each cluster

Examples

1
update_m_list(number_of_clusters, A_vector, R_vector, probability_matrix, sequence, nbasis)

jewelltaylor/fdcvi documentation built on May 7, 2020, 12:10 a.m.