Displaying 2 results from an estimated 2 matches for "abecassis".
2008 Apr 24
2
problem with "which"
Hi,
I'm having trouble with the "which" or the "seq" function, I'm not sure.
Here's an example :
> lat=seq(1,2,by=0.1)
> lat
[1] 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0
> which(lat==1)
[1] 1
> which(lat==1.1)
[1] 2
> which(lat==1.2)
[1] 3
> which(lat==1.3)
[1] 4
> which(lat==1.4)
[1] 5
> which(lat==1.5)
[1] 6
>
2008 Nov 07
1
help with maps : center on the dateline
Hi,
I'm trying to plot a map of the pacific ocean, centered on the dateline, using the maps package.
library(maps) # Basic library to draw maps
library(mapdata)# Library with specialized maps
library(mapproj)
map(database = "world", fill = TRUE, col = 1, plot = TRUE,add=F,
xlim = c(120,300), ylim = c(-20,40))
I tried several different combinations of coordinates, but whatever