j.c.rougier@durham.ac.uk
2003-Jun-10 17:54 UTC
[Rd] Minor quibble with eigen and La.eigen (PR#3221)
Hi everyone,
It's a very minor point, but could we ensure that eigen and La.eigen
return a *matrix* for the "vectors" component of the list by including
a
"drop = FALSE", as specified in the help file, ie put
list(values = z$values[ord], vectors = if (!only.values) z$vectors[,
ord, drop = FALSE])
Thanks, Jonathan.
--please do not edit the information below--
Version:
platform = i686-pc-linux-gnu
arch = i686
os = linux-gnu
system = i686, linux-gnu
status =
major = 1
minor = 7.0
year = 2003
month = 04
day = 16
language = R
Search Path:
.GlobalEnv, Autoloads, package:base
Prof Brian Ripley
2003-Jun-10 18:26 UTC
[Rd] Minor quibble with eigen and La.eigen (PR#3221)
We certainly can. (svd seems to do this already.) Could you (next time) supply a test example for the regression suite, though? On Tue, 10 Jun 2003 j.c.rougier@durham.ac.uk wrote:> Hi everyone, > > It's a very minor point, but could we ensure that eigen and La.eigen > return a *matrix* for the "vectors" component of the list by including a > "drop = FALSE", as specified in the help file, ie put > > list(values = z$values[ord], vectors = if (!only.values) z$vectors[, > ord, drop = FALSE])-- Brian D. Ripley, ripley@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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595