create.mat {stratifyR} | R Documentation |
To create and store calculated values of the objective function
Description
This function creates a matrix whose rows and columns depend on the range or distance of the data and the number of strata solutions that the user is seeking to compute. The matrix stores the objective function values calculated by the algorithm only to be accessed later for the purpose of presenting the OSB.
Usage
create.mat(my_env)
Arguments
my_env |
The environment my_env has various constants stored from earlier operations dealing with information on the data |
Value
stores numerical quantities of the objective function and stores in the two matrices inside the my_env to be accessed by other functions
Author(s)
Karuna Reddy <karuna.reddy@usp.ac.fj>
MGM Khan <khan_mg@usp.ac.fj>
[Package stratifyR version 1.0-3 Index]