Last chance! 50% off unlimited learning
Sale ends in
makeIPMPmatrix(nEnvClass = 1, nBigMatrix = 50,
minSize = -1, maxSize = 50, chosenCov = data.frame(covariate=1),
growObj, survObj, discreteTrans=1,
integrateType = "midpoint", correction="none")
none
. The first option is constant
which will multiply every column of the IPM by a constant sufficient to adjust values to those predicted for survival at that size. The second option is discre
Ellner & Rees. 2006. Integral projection models for species with complex demography. The American Naturalist 167, p410-428.
For information on P matrix: Caswell. 2001. Matrix population models: construction, analysis, and interpretation. 2nd ed. Sinauer. p110-112.
For information on unintentional eviction from IPMs (which the various corrections try and account for) see Williams et al. 2012 Avoiding unintentional eviction from integral projection models. Ecology.
makeIPMFmatrix
,makeIPMmatrix
, diagnosticsPmatrix
, makeDiscreteTrans
dff <- generateData()
Pmatrix <- makeIPMPmatrix(minSize = min(dff$size, na.rm = TRUE),
maxSize=max(dff$size, na.rm=TRUE), growObj = makeGrowthObj(dff),
survObj = makeSurvObj(dff))
image(Pmatrix@meshpoints, Pmatrix@meshpoints, t(Pmatrix),
xlab = "Continuous (e.g. size) stage at t",
ylab = "Continuous (e.g. size) stage at t+1")
Pmatrix <- makeIPMPmatrix(minSize = min(dff$size, na.rm = TRUE),
maxSize=max(dff$size, na.rm=TRUE),
growObj = makeGrowthObj(dff,regType="changingVar"),
survObj = makeSurvObj(dff))
image(Pmatrix@meshpoints, Pmatrix@meshpoints, t(Pmatrix),
xlab = "Continuous (e.g. size) stage at t",
ylab = "Continuous (e.g. size) stage at t+1")
#example with discrete transition matrix
dff <- generateData(type="discrete")
Pmatrix <- makeIPMPmatrix(minSize = min(dff$size, na.rm = TRUE),
maxSize=max(dff$size, na.rm=TRUE), discreteTrans=makeDiscreteTrans(dff),
growObj = makeGrowthObj(dff),
survObj = makeSurvObj(dff))
#discrete stages not plotted
image(Pmatrix@meshpoints, Pmatrix@meshpoints,
t(log(Pmatrix[2:length(Pmatrix@meshpoints),2:length(Pmatrix@meshpoints)])),
xlab = "Continuous (e.g. size) stage at t",
ylab = "Continuous (e.g. size) stage at t+1")
Run the code above in your browser using DataLab