linear_total_cost | R Documentation |
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
linear_total_cost(time, recruits, int, beta, rec_exp = 1)
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 |
A vector the same length as time
with the total cost to raise
n recruits
to time
curve(linear_total_cost(x, 0.5, 0.001, 100), 0, 1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.