Dear,
I followed the instruction given by Roger. But i got the following error 
message;
coordinates(A) <- c("x", "y")> gridded(A) <- TRUE> 
greenchannel<-matrix(A[,3],nrow=155,ncol=191,byrow=TRUE)Error in as.vector(x, 
mode) : cannot coerce to 
vectorredchannel<-matrix(A[,4],nrow=155,ncol=191,byrow=TRUE)Error in 
as.vector(x, mode) : cannot coerce to vector> 
nearinfraredchannel<-matrix(A[,5],nrow=155,ncol=191,byrow=TRUE)Error in 
`[.data.frame`([EMAIL PROTECTED], i, j, ..., drop = FALSE) :   undefined 
columns selected> 
midinfraredchannel<-matrix(A[,6],nrow=155,ncol=191,byrow=TRUE)Error in 
`[.data.frame`([EMAIL PROTECTED], i, j, ..., drop = FALSE) :   undefined 
columns selectedThe image plot was black background with x and y axis values.
Any help?
Thanking you
Pujan
_________________________________________________________________
Back to work after baby–how do you know when you’re ready?

5797498&ocid=T067MSN40A0701A
        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to