Re: [R-sig-Geo] combining two image files into one database

2009-01-08 Thread Alok K Bohara, PhD
] On Behalf Of Alok K. Bohara, PhD Sent: Wednesday, January 07, 2009 4:21 PM To: Greg Lee Cc: r-sig-geo@stat.math.ethz.ch Subject: Re: [R-sig-Geo] combining two image files into one database Thanks Greg for your response: I want to do what the examples in Spatstat do with regard to the point and pixel

Re: [R-sig-Geo] combining two image files into one database

2009-01-07 Thread Greg Lee
Hello Alok, We really need more details about what you are trying to acheive in order to help you. c(X, Y) concatenates the objects X and Y. The result will be a vector. If X and Y happen to be m x n matrices, the result will be a vector of length 2 * m * n: probably not what you want. You can

Re: [R-sig-Geo] combining two image files into one database

2009-01-07 Thread Alok K. Bohara, PhD
Thanks Greg for your response: I want to do what the examples in Spatstat do with regard to the point and pixel/image data bei and bei.extra.. (bei.extra contains a list of two image files --elevation and gradient. They plot these two items (and also take log, I believe) In my case:

Re: [R-sig-Geo] combining two image files into one database

2009-01-07 Thread Tomislav Hengl
-sig-geo-boun...@stat.math.ethz.ch] On Behalf Of Alok K. Bohara, PhD Sent: Wednesday, January 07, 2009 4:21 PM To: Greg Lee Cc: r-sig-geo@stat.math.ethz.ch Subject: Re: [R-sig-Geo] combining two image files into one database Thanks Greg for your response: I want to do what the examples

[R-sig-Geo] combining two image files into one database

2009-01-06 Thread Alok K. Bohara, PhD
Hi: Let me start by saying that I am new to R. I converted two pixel ascii matrices into image files: X_im - im(X) # X is an ascii pixel matrix Y_im - im(Y) # Y is an ascii pixel matrix How can I combine these two images into 1) one datafile XY_im, 2) save it and 3) read it after