Skip to contents

Compute the availability of aquatic habitats.

Usage

compute_Q(habitat_matrix, search_weights)

Arguments

habitat_matrix

the membership matrix, N

search_weights

the habitat search weights, ωq

Value

a vector of describing habitat availability, Q, of length nPatches

Details

The availability of the habitats that we have defined in the model, denoted Q, sums search weights, ωq, by patch using the habitat membership matrix, N, and we can compute Q=Nωq.

See also

This function is called by make_Q

create_habitat_matrix discusses N

The availability of ovitraps and bad habitats is setup in setup_EGG_LAYING