data.root {stratifyR} | R Documentation |
To calculate the objective function values
Description
This function is called within other important functions in the stratifyR package to calculate the objective function values at systematic incremental progressions of stratum width and range of the data
Usage
data.root(d, y, c, my_env)
Arguments
d |
A numeric: distance or range of data |
y |
A numeric: stratum width |
c |
A numeric: stratum cost |
my_env |
The environment my_env contains the constants and outputs from various calculations carried out by other key functions |
Value
returns the value of the objective function
Author(s)
Karuna Reddy <karuna.reddy@usp.ac.fj>
MGM Khan <khan_mg@usp.ac.fj>
[Package stratifyR version 1.0-3 Index]