Displaying 3 results from an estimated 3 matches for "douvis".
2008 Apr 09
4
apply lm() for all the columns of a matrix
...to perform linear fit to all the columns of a matrix?
(or in the one dimension of a multi-dimensional array.) I'm talking about
many single linear fits, not about a multiple fit. I thought that a
combination of apply and lm would do it but I can't make it work
Thank you
Kostas
--
Kostas Douvis
PhD Student
University of Athens - Department of Geography and Climatology
Academy of Athens - Research Centre for Atmospheric Physics and Climatology
email: cdouvis at geol.uoa.gr
tel: +30-210-8832048
2008 Jan 07
2
output into an unformatted direct fortran file
...lo everybody
Is there a way to output data into a file like the unformatted, direct
fortran files? That's the kind that can be opened with:
open(30, file='file', format='unformatted', access='direct', rec=1000,
convert='big endian')
Thank you in advance
Kostas Douvis
2008 Mar 17
1
how to plot a map on a non-rectilinear grid
...at<-matrix(0,20,25)
elev<-matrix(0,20,25)
for (i in 1:20) {
for (j in 1:25) {
lat[i,j]<-i+((j-12.5)^2)/100
lon[i,j]<-j+((i-10)^2)/100
elev[i,j]<-i+j
}
}
All 3 matrices have dimensions 20x25. How can I plot elev values in the
grid points defined by lat and lon?
--
Kostas Douvis
PhD Student
University of Athens - Department of Geography and Climatology
Academy of Athens - Research Centre for Atmospheric Physics and Climatology
email: cdouvis at geol.uoa.gr
tel: +30-210-8832048