It can't calculate the range of the x/y axes so there's nothing to plot.
-roger
Christoph Lehmann wrote:
tmp.vimp <- matrix(NA, nrow = x.dim, ncol = y.dim)
tmp.vimp <- image(tmp.vimp, col=rainbow)
gives:
Error in image.default(tmp.vimp, col = rainbow) :
invalid z limits
In addition: Warning
tmp.vimp <- matrix(NA, nrow = x.dim, ncol = y.dim)
tmp.vimp <- image(tmp.vimp, col=rainbow)
gives:
Error in image.default(tmp.vimp, col = rainbow) :
invalid z limits
In addition: Warning messages:
1: no finite arguments to min; returning Inf
2: no finite arguments to max; returning -Inf
eve