Skip to content

prcomp need Conj(t(s$vt)) (PR#2924)

2 messages · Paul Gilbert, Brian Ripley

#
In prcomp

        s <- La.svd(x, nu = 0)
        s$v <- t(s$vt)

the second above line should be 

        s$v <- Conj(t(s$vt))

(to cover complex cases).

Paul Gilbert
#
On Mon, 5 May 2003 pgilbert@bank-banque-canada.ca wrote:

            
They are not covered in the help page, AFAICS.

They are certainly not covered in the references quoted.

Are you not jumping to conclusions?  There is a lot of R that does not 
handle complex cases, and does not say so. (lm, for one.)