Re: [R] Re: Re: Find Closest 5 Cases?

2004-02-13 Thread Sean Davis
Danny, In the bioconductor suite (www.bioconductor.org) in the pamr package there is a program called pamr.knnimpute that will probably at least close to what you would like to do. Sean -- Sean Davis, M.D., Ph.D. Clinical Fellow National Institutes of Health National Cancer Institute National H

Re: [R] Re: Re: Find Closest 5 Cases?

2004-02-13 Thread Chuck Cleland
[EMAIL PROTECTED] wrote: I'm doing this as a form of missing value analysis. Approximately 30% of the cases are missing data for one variable. To impute values for those cases, I'd like to match those cases that are missing the variable to all other cases and then take an average of those to infi

[R] Re: Re: Find Closest 5 Cases?

2004-02-13 Thread dsheuman
Art (and group), I'm doing this as a form of missing value analysis. Approximately 30% of the cases are missing data for one variable. To impute values for those cases, I'd like to match those cases that are missing the variable to all other cases and then take an average of those to infill.