extend_param: 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)
Value
the matrix param_test with one additional column
Arguments
- param_test
a matrix of parameters
- G
number of components