[R] geodesic distance

Simone Gabbriellini ogabbrie at tin.it
Tue Aug 8 09:53:12 CEST 2006


I don't know exactly, but you can have a look at the sna package,  
there should be a function for geodesic computation in social network  
analysis...

regards,
Simone

Il giorno 03/ago/06, alle ore 11:14, stefano iacus ha scritto:

> Hi,
> has anyone ever seen implemented in R the following "geodesic"
> distance between positive definite pxp matrices A and B?
>
> d(A,B) = \sum_{i=1}^p (\log \lambda_i)^2
>
> were \lambda is the solution of det(A -\lambda B)  = 0
>
> thanks
> stefano
>
> ______________________________________________
> R-help a 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
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list