if (FALSE) {
tmp <- fxTotal(secrdemo.0)
## to plot we must name one of the covariates:
## the Dsurface default 'D.0' causes an error
plot(tmp, covariate = 'D.sum', col = terrain.colors(16),
plottype = 'shaded')
plot(tmp, covariate = 'D.sum', col = 'white', add = TRUE,
plottype = 'contour')
if (interactive()) {
spotHeight(tmp, prefix = 'D.sum')
}
fxsurface <- fxTotal(ovenbird.model.D, sessnum = 3)
plot(fxsurface, covariate = 'D.sum')
}
Run the code above in your browser using DataLab