Learn R Programming

thamesmix (version 0.1.3)

calc_shift_mat_simple: Calculate a matrix used to permute the entries of the parameters

Description

Calculate a matrix used to permute the entries of the parameters

Usage

calc_shift_mat_simple(sort_indices, num_var_g, G)

Value

a matrix used to permute the entries of the parameters

Arguments

sort_indices

a matrix of indices that will be used for sorting

num_var_g

number of component mixture parameters

G

number of components