doubling_time {gcplyr} | R Documentation |
Calculate doubling time equivalent of per-capita growth rate
Description
Provided a vector of per-capita growth rates, this function returns the vector of equivalent doubling times
Usage
doubling_time(y, x_scale = 1)
Arguments
y |
Vector of per-capita derivative data to calculate the equivalent doubling time of |
x_scale |
Numeric to scale per-capita derivative values by Set x_scale to the ratio of the the units of
y to the desired units. E.g. if y is in per-second, but the
desired doubling time is in minutes, |
Value
A vector of values for the doubling time equivalent to the
per-capita growth rate supplied for y
[Package gcplyr version 1.10.0 Index]