Displaying 1 result from an estimated 1 matches for "dessin_i".
Did you mean:
dessin_c
2006 Apr 04
1
imaging and contouring
...lab, but was unable to solve the following difficulty.
I am running R on a iMac G5 with OS 10.4.
The file below (73 rows x 144 col) shows the values of a climatic
index on the globe with a grid of 2,5 ? x 2,5 ? (NA = no value):
?
With image() and map() and running the following function:
dessin_i<-function(nomfichier="ERA40NA.dat",lat=73,long=144)
{ #d?finition de la fonction
library(maps)
a <- read.table(nomfichier) #lecture du fichier
z <- array(0,dim=c(long,lat)) #cr?ation d'un tableau de 0
z <- t(a) #transposition de la matrice a en z
z1<-rbind(z[65:long,],...