update_sigma_list: Update the sigma parameter for each cluster

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

update_sigma_listR Documentation

Update the sigma parameter for each cluster

Description

Update the sigma parameter for each cluster

Usage

update_sigma_list(
  Y,
  phi_matrix,
  K,
  A_vector,
  R_vector,
  probability_matrix,
  x,
  nbasis
)

Arguments

Y

The matrix containing rows corresponding the curves

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

Value

A list of the updated sigma parameters for each cluster

Examples

update_sigma_list(Y, phi_matrix, K, A_vector, R_vector, probability_matrix, x, nbasis) 


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