[R-sig-Geo] levelplot gives an error

Edzer J. Pebesma e.pebesma at geo.uu.nl
Mon Apr 9 21:23:05 CEST 2007


perhaps use

spplot(OK_pred[1], ...)

which would be more or less short for

levelplot(var1.pred~x+y, as.data.frame(OK_pred), aspect = "iso", ...)
--
Edzer


temiz wrote:

>hello
>
>why does levelplot function give an error
>
>OK_pred <- krige(z~1,el4, newdata=mask_SG, model=efitted)
>levelplot(var1.pred ~ x + y , OK_pred , aspect = mapasp(OK_pred), main = 
>"ordinary kriging predictions")
>Error in eval(expr, envir, enclos) : invalid 'envir' argument
>
>regards
>
>  
>




More information about the R-sig-Geo mailing list