Learn R Programming

stratifyR (version 1.0-3)

data.root: 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)

Value

returns the value of the objective function

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

Author

Karuna Reddy <karuna.reddy@usp.ac.fj>
MGM Khan <khan_mg@usp.ac.fj>