Provided a vector of per-capita growth rates, this function returns
the vector of equivalent doubling times
Arguments
- y
vectorof per-capita derivative data to calculate the equivalent doubling time of- x_scale
numericto scale per-capita derivative values bySet
x_scaleto the ratio of the the units ofyto the desired units. E.g. ifyis in per-second, but the desired doubling time is in minutes,x_scale = 60(since there are 60 seconds in 1 minute).