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
>
>  
>

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to