I do not understand your question. If this was not a sparse matrix, then I would have asked you refer into the missing value literature. Even there, people generally remove any columns/rows that have too many missing values to avoid unreliable results.
And since this is a sparse matrix, you are going to have too many missing values on all rows and columns. I could be wrong but if I am, someone will tell me that soon enough. Regards, Adai On Fri, 2005-08-05 at 12:12 +0000, 吴 昊 wrote: > 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 0 0 > 0 0 3.1 0 0 0 0 1.4 0 > 0 0 0 0 0 0 0 0 0 > 1.1 0 0 0 0 0 0 0 0 > 0 0 0 4 0 0 0 0 6 > 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 7 0 0 0 > 0 3 0 0 0 0 6 0 0 > 0 0 0 0 9 0 0 0 0 > thanks a lot > hao wu > > ______________________________________________ > 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-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