Re: [R] dimnames and solve

2003-01-20 Thread ripley
A feature. What you really are doing is solve(V, diag(3)), and you get the colnames of the RHS. See the help page! On Mon, 20 Jan 2003, Giovanni Marchetti wrote: > If I have a covariance matrix V > for example > > V = var(trees) > > V >Girth HeightVolume > Girth 9.847914

[R] dimnames and solve

2003-01-20 Thread Giovanni Marchetti
If I have a covariance matrix V for example > V = var(trees) > V Girth HeightVolume Girth 9.847914 10.38333 49.88812 Height 10.38 40.6 62.66000 Volume 49.888118 62.66000 270.20280 I woul like that the inverse (i.e. the concentration matrix) had the same dimnames. Bu