Hi,
I think you need to check the order of your arguments to rasterize(). See the
documentation with ?rasterize and compare to what you did below.
Cheers,
Ben
> On Apr 30, 2016, at 9:55 AM, Ogbos Okike wrote:
>
> Dear All,
> Thanks for your inputs. I did replace pointsToRaster () with
> ra
Dear All,
Thanks for your inputs. I did replace pointsToRaster () with
raster::rasterize(). Below is part of my script.
But I got another error:
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘rasterize’ for
signature ‘"RasterLayer", "matrix"’
Than
Dear Ogbos Okike,
I can't know how your script depends on pointsToRaster(), but googling
around I found that the function seems to have been marked as obsolete:
http://www.inside-r.org/packages/cran/raster/docs/linesToRaste
Hope that helps,
Leonardo Ferreira Fontenelle
http://lattes.cnpq.br/923
Hi,
A terrific resource for this type of issue (and pretty much anything related to
R) is http://rseek.org/ I'm sure I use it at least daily. Check out ...
http://rseek.org/?q=pointsToRaster
The first hit is about pointsToRaster() - it has been replaced by
raster::rasterize()
Cheers,
Ben
>
Dear All,
I have a script that draws longitude and latitude of lightning
occurrence. This script was running fine before. But when I changed my
system and do a fresh install on another laptop, this error persist.
source("script")
Error in eval(expr, envir, enclos) :
could not find function "poin
5 matches
Mail list logo