update_d_vector: Update the d parameter for each cluster

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

update_d_vectorR Documentation

Update the d parameter for each cluster

Description

Update the d parameter for each cluster

Usage

update_d_vector(Y, K, probability_matrix)

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

Value

A vector of the updated d parameters for each cluster

Examples

update_d_vector(Y, K, probability_matrix)

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