[R] trimmed correlations

Prof Brian D Ripley ripley at stats.ox.ac.uk
Tue Feb 27 08:20:27 CET 2001


On Mon, 26 Feb 2001, Amy C. Peng wrote:

> Dear R users:
>
> Does anyone know if there are any R library functions for computing trimmed
> correlations, similar to the trim option in Splus's cor function?

I don't, but then I think that the robust covariance computations of
cov.rob (in package lqs) are much to be preferred.

> Also, does anyone know if there are any R library functions for computing a
> Euclidean distance matrix which can handle missing values, similar to
> Splus's dist function?

It looks to me as if the internal code can do this, and all that is needed
is to add NAOK=TRUE to the .C call in dist().

> Please reply directly to me, as I am not currently a list recipient.
> Thanks very much for your advice.
>
> Sincerely,
> Amy Peng
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list