data.root: To calculate the objective function values

Description Usage Arguments Value Author(s)

View source: R/data.root.R

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

1
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>


stratifyR documentation built on Dec. 11, 2021, 9:25 a.m.