Displaying 2 results from an estimated 2 matches for "sp_dist".
Did you mean:
lsp_dist
2009 Mar 27
3
color vectors other than gray()
...ate a graph where different cells of a grid (a shapefile)
will be painted with a color share scale, where the most easy way is to use
gray().
Can I somehow get a vector (gradient) of colors, a vector of colors with
other methods but gray()?
I'm doing this until now
quad_N_sp <-
merge(sp_dist[sp_dist$sp==splist[i],],grelha_ID,by.x="quad",by.y="quadricula
",all.y=T,)
quad_N_sp$x[is.na(quad_N_sp$x)] <- 0
quad_N_sp <- quad_N_sp[order(quad_N_sp$id),]
paleta <- gray(1-(quad_N_sp$x)/max(quad_N_sp$x)) #! Tons de cinzento
win.graph(4,5)
plot(grelha,...
2005 Sep 14
4
Converting coordinates to actual distances
Hello,
I've been searching for a method of converting Lat/Lon decimal
coordinates into actual distances between points, and taking into
account the curvature of the earth. Is there such a package in R? I've
looked at the GeoR package, but this does not seem to contain what I am
looking for. Ideally the output would be a triangular matrix of
distances.
Thanks in advance,
Paul Brewin