growth_rate: Compute the growth rate

Description Usage Arguments Value Examples

View source: R/growth_rate.R

Description

The determination of the growth rate is a important parameter. Indeed, the growth rate can be used to compare different individuals. There are several methods to compute the growth rate.

Usage

1
2
3
4
5
6
7
growth_rate(
  skw_t,
  skw_ini,
  date_t,
  date_ini = 0,
  method = c("exponential", "linear", "linear_std")
)

Arguments

skw_t

The weight at time t

skw_ini

The weight at initial time

date_t

The number day at time t

date_ini

The number day at initial time

method

The method to be employed. See the description to know the different methods

Value

The growth rate

Examples

1
2
3
4
growth_rate(skw_t = 1.2, skw_ini = 1, date_t = 7, date_ini = 0,
method = "exponential")

# See \url{https://econum.github.io/coral.growth/articles/} for more examples

EcoNum/coral.growth documentation built on May 9, 2020, 10:40 a.m.