extend_param {thamesmix}R Documentation

Extends the parameter to include the last proportion

Description

The last proportion parameters is redundant, since it is equal to 1 minus the sum of all other proportion parameters. This function ats the last proportion parameter back to the parameter matrix.

Usage

extend_param(param_test, G)

Arguments

param_test

a matrix of parameters

G

number of components

Value

the matrix param_test with one additional column


[Package thamesmix version 0.1.3 Index]