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 loading (e.g., x <- XY_im$X_im. and plot it.)
I tried doing this:
XY_im <- c(X_im,Y_im)
save(XY _im, file = "XM_im.Rdata")
load("XY_im.Rdata")
x<- XY_im$X_im # It does not like $ and says it is atomic something...
plot(x) # of course it does not work either.
What am I doing wrong? Any tips?
Thanks you.
Alok Bohara
--
Alok K. Bohara, Ph.D.
Professor
Department of Economics
University of New Mexico
Albuquerque, NM 87131,USA
Ph: 505-277-5903/5304(w)
Fax:505-277-9445
email: [email protected]
http://www.unm.edu/~econ/faculty/professors.html
Nepal Study Center: http://nepalstudycenter.unm.edu
_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo