as.raster
## S4 method for signature 'Layer' as.raster(x, zpos)
x
the layer to convert
zpos
the z coordinate in coordinate space