update_R_vector: Update the d parameter for each cluster

View source: R/model.R View source: R/main_model.R

update_R_vectorR Documentation

Update the d parameter for each cluster

Description

Update the d parameter for each cluster

Usage

update_R_vector(
  Y,
  K,
  probability_matrix,
  x,
  sigma_list,
  m_list,
  nbasis,
  beta_vector
)

Arguments

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

Value

A vector of the updated R parameters for each cluster

Examples

update_R_vector(Y, K, probability_matrix, x, sigma_list, m_list, nbasis, beta_vector)


jewelltaylor/funclustVI documentation built on June 1, 2022, 12:30 p.m.