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