Re: [R] interpolation function

From: Adaikalavan Ramasamy <ramasamy_at_cancer.org.uk>
Date: Fri 05 Aug 2005 - 22:53:25 EST

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 Received on Fri Aug 05 22:59:18 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:05:39 EST