I have a data.frame consisting of a points with an associated continuos value and their X,Y coordinates. Altough it's not stored anywhere it's projection is a Lambert conformal conic. I think this is why when I try to make it a raster object:
rast <- raster(dataframe)
I get the following error:
Error en .local(x, ...) : data are not on a regular grid
How can I tackle this issue? Thank you.