Produces an object suitable to pass as the funcresp to spec_rescomp(). Creates a Hill functional response with maximum growth rate mumax, half saturation constant ks, and Hill coefficient n. mu_ij(R_j) = mumax_ij * (R_j)^n_ij / (ks_ij + (R_j)^n_ij) This an alternative parameterisation of a type 3 functional response, typically used with quota rather than efficiency.

funcresp_hill(mumax, ks, n)

Arguments

mumax

A matrix or rescomp_coefs_matrix, with one row per species and one column per resource. The maximum growth rate (if using quota) or maximum consumption rate (if using efficiency) of each species on each resource.

ks

A matrix or rescomp_coefs_matrix, with one row per species and one column per resource. The half saturation constant of each species for each resource; the resource concentration at which growth/consumption rate is half of mumax.

n

A matrix or rescomp_coefs_matrix, with one row per species and one column per resource. The Hill coefficient for each species on each resource. With n = 1, this is equivalent to a Monod functional response.

Value

S3 object of class rescomp_funcresp.

Examples

# TODO