Max(object, ...)
Coef
.Maxima occur in quadratic and additive ordination, e.g., CQO or UQO or CAO. For these models the maximum is the fitted value at the optimum. For quadratic ordination models there is a formula for the optimum but for additive ordination models the optimum must be searched for numerically. If it occurs on the boundary, then the optimum is undefined. For a valid optimum, the fitted value at the optimum is the maximum.
Yee, T. W. (2006) Constrained additive ordination. Ecology, 87, 203--213.
Max.qrrvglm
,
Tol
,
Opt
.data(hspider)
set.seed(111) # This leads to the global solution
hspider[,1:6] = scale(hspider[,1:6]) # Standardized environmental vars
p1 = cqo(cbind(Alopacce, Alopcune, Alopfabr, Arctlute, Arctperi,
Auloalbi, Pardlugu, Pardmont, Pardnigr, Pardpull,
Trocterr, Zoraspin) ~
WaterCon + BareSand + FallTwig + CoveMoss + CoveHerb + ReflLux,
Bestof = 2,
fam = quasipoissonff, data = hspider, Crow1positive=FALSE)
Max(p1)
index = 1:ncol(p1@y)
persp(p1, col=index, las=1, lwd=2)
abline(h=Max(p1), lty=2, col=index)
Run the code above in your browser using DataLab