Produces an object suitable to pass as the funcresp
to spec_rescomp()
.
Creates a Holling type 2 functional response with attack rate a
and handling time h
.
mu_ij(R_j) = (a_ij * R_j) / (1 + a_ij * h_ij * R_j)
funcresp_type2(a, h)
A matrix or rescomp_coefs_matrix
, with one row per species and one column per resource. The maximum attack rate (if using efficiency) or growth rate (if using quota) of each species on each resource, when the resource is rare.
A matrix or rescomp_coefs_matrix
, with one row per species and one column per resource. The handling time of each species for each resource, which reduces attack/growth rate when the resource becomes abundant. With h = 0, this is equivalent to a type 1 function response.
S3 object of class rescomp_funcresp
.
# TODO