Skip to contents

When this vector corresponds to the generation interval distribution, we want to drop this first bin. The renewal equation assumes that same-day infection and onward transmission does not occur, and we assume everything is 1 indexed not 0 indeced. We need to manually drop the first element from the PMF vector.

Usage

drop_first_and_renormalize(x)

Arguments

x

A numeric vector, sums to 1. Corresponds to a discretized PDF or PMF (usually the GI distribution).

Value

A numeric vector, sums to 1.