Estimate r in a set time window

estimate_r_in_window(
  onsets = NULL,
  min_time = NULL,
  max_time = NULL,
  bootstrap_samples = 1000
)

Arguments

onsets

A list of samples datasets nested within the dataset sampled from.

min_time

Numeric, the minimum time to fit the model to.

max_time

Numeric, the maximum time to fit the model to.

bootstrap_samples

Numeric, defaults to 1000. The number of samples to take when bootstrapping little r to account for model uncertainty.

Value

A list of 3 dataframes containing estimates for little r, doubling time and model goodness of fit.