Skip to contents

Calculate basic reproduction number (R0) for different model types

Usage

calculate_R0(params, model_type = "rats_only", K_r = 2500, K_h = 5000)

Arguments

params

plague_parameters object or list

model_type

Type of model ("rats_only", "with_humans", etc.)

K_r

Rat carrying capacity (defaults to 2500 if not in params)

K_h

Human carrying capacity (defaults to 5000 if not in params, only used for "with_humans")

Value

Numeric R0 value or list of R0 values