Computes a vector of length nStrata describing the daily eir, per patch from a vector of length nPatches describing the daily infective biting density. $$fqZ = \left(\beta^T \cdot \beta \right)^{-1} \cdot \beta^T \cdot E$$

eir2fqZ(eir, beta)

Arguments

eir

a vector describing the EIR in several strata

beta

the mixing matrix

Value

a numeric vector