Skip to content
Prev 15975 / 29559 Next

Again, coordinate interpolation with NAs

On 08/29/2012 07:04 PM, Karl Ove Hufthammer wrote:
I was thinking along the same line. I'm curious, btw, whether matlab's
interpm also interpolates along great circle lines, as makeLine does.

An alternative that interpolates along straight lines, building on your
script, is:

x = spsample(d.sp, type = "regular", n = 100)
plot(x, cex=.2, axes=TRUE)

but I'm not sure whether the first and last points are always included.