[R] scratch a figure

2005-08-14 Thread
Hi, I have generated a figure using rgl.surface(),how can I scratch this figure? thanks a lot. regards Hao Wu __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

[R] interpolation function

2005-08-05 Thread
Hi, I have a sparse matrix.I want to fill values into the entries whose value is 0.The new generated values should come from the interpolation of the values have existed.Does R provide such interpolation functions which operate on Matrix, for example ,such a matrix below 0 0 0 0 2.3 0 0

[R] interpolation function in R

2005-08-04 Thread
Hi does R provide some interpolation fucntions? thank __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] assignment of matrix

2005-07-25 Thread
Hi, I have created a matrix and initially all elements in the matrix was assigned to NA.Then I want to assign values to some elements of this matrix. Can I use formation like matrix[i][j] - 4?if not, how can i do this? now I have three vectors y1 y2 y3 3 4 3.1 5 2 4.2 if I want

[R] about 3d surface plot

2005-07-18 Thread
Hi I have a data format like this: x coordinates y coordinates z value 3.77E+002 7.13E+002 0,0 1.27E+003 5.52E+002 2,756785261 1.06E+003 4.76E+002 2,583918174 3.86E+002 7.15E+002 0,158626133 3.60E+002 1.77E+002