The function performs geographic weighting of non-projected long/lat
data. By default it uses the cosine of latitude to compensate for the
area distortion, though the user can supply other functions via f.
Usage
geoWeight(x, f = function(x) cos(x), ...)
Arguments
x
a Raster* object
f
a function to be used to the weighting.
Defaults to cos(x)