Suppose your data is in image.txt, space delimited (one or more spaces),
then you could use:
myimage -
as.matrix(read.table('image.txt',skip=0,header=FALSE,sep=,strip.white=TRUE))to
view the resulting image use:
image(myimage)
to get contours: contour(myimage)
etc.
--
Dear,
Have a look at:
*akima http://cran.r-project.org/src/contrib/akima_0.3-4.tar.gz:
Interpolation of irregularly spaced data*
Linear or cubic spline interpolation for irregular gridded data
Kris
--
Dear,
I have XYZ data available in a MySQL database. I get it out, can plot
the data with the plot() function, load it into a geoR datastructure.
But what I actually would like to do is a simple contouring of the data
based on a no Kriging interpolation such as TIN based.
I know the first
Dear,
Is anyone using R for the analysis of AVHRR or VGT timeseries?
We've just started to explore the capabilities of the ts package and are
exploring FFT. Any extra resources would be handy.
Regards,
Kris
--
Dear,
has anyone experience compiling R on a cluster of RISC-6000 systems (IBM
Scalable Parallel System) with the xlc compiler (version 5)? We
discovered we can use such a system at our university and have some
processing time problems on Linux and Windows systems (running at 1.8
Ghz an
Dear,
we have a problem with geoR. We try to read an ASCII table (x,y,z) with 4
lines. With read.geodata we get the error:
Error in vector(double, length) : cannot allocate vector of length 79998
We can read the file without any problem with read.table, but trying to
convert it to
Dear,
I'm looking for some examples on OO programming in R. I have the
programming manual with explanation on UseMethod and NextMethod but I
miss some practical examples to get me going (I hope). I searched the
web but could not find a good independent tutorial on this.
Any suggestions are