linear_total_cost {optistock}R Documentation

Compute total cost as a linear function of time

Description

This function returns the total cost of raising n recruits to time. The curve across time can only be linear with parameters int and beta, but can be non-linear with respect to recruits

Usage

linear_total_cost(time, recruits, int, beta, rec_exp = 1)

Arguments

time

The amount of time that fish are raised in hatchery

recruits

The number of recruits raised

int

Intercept for the linear total cost curve

beta

Slope for the linear total cost curve

rec_exp

The exponent on the number of recruits

Value

A vector the same length as time with the total cost to raise n recruits to time

Examples

curve(linear_total_cost(x, 0.5, 0.001, 100), 0, 1000)

[Package optistock version 0.0.2 Index]