make_fruits: Local fruit production

Description Usage Arguments Value

View source: R/fn_demography.R

Description

Calculate the number of fruits produces in ecah grid cell. It assumes no fruit production before m and that individuals are distributed among land cover types in densities relative to K.

Usage

1
make_fruits(N.t, lc.mx, mu.E, p.f.E, m.max, m.d, dem.st = F)

Arguments

N.t

Matrix or array of abundances, with dims=c(ngrid, (lc), m.max)

lc.mx

Matrix of land cover proportions from cell_E

mu.E

Vector of fruit per individual from cell_E

p.f.E

Vector of fruiting probability from cell_E

m.max

Maximum age at maturity (i.e., max(m))

m.d

Logical denoting whether m differs among land cover types

dem.st

Logical denoting whether to include demographic stochasticity

Value

Tibble with grid id, number of reproducing individuals, and total fruit produces within the cell


Sz-Tim/gbPopMod documentation built on Dec. 7, 2020, 1:07 p.m.