View source: R/percap_growth.R
percap_growth | R Documentation |
Calculates per-capita growth rate, using log ratios following the formula dN/Ndt = log(N(t)/N0)/dt.
percap_growth(x, laggedx, dt)
x |
Abundance |
laggedx |
Lagged abundance |
dt |
Time lag between observations |
Per-capita growth rate
data(gause_1934_science_f02_03)
lagged_data <- get_lag(x=gause_1934_science_f02_03$Volume_Species1,
time = gause_1934_science_f02_03$Day,
treatment = gause_1934_science_f02_03$Treatment)
dNNdt <- percap_growth(x=lagged_data$x, laggedx=lagged_data$laggedx,
dt=lagged_data$dt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.