I have values returned from a foreach loop I need to merge into a raster template. When I add the information, all NA values are omitted. Of course this hoses up the spatial i