rkevinburton wrote:
> 
> I am testing 'qr' with an admittedly contrived matrix and I am getting
> different results than I am from another package. The matrix that I am
> using is:
> 
> x <- matrix(seq(.1, by=.1, length.out=12), 4)
> 
> So the whole test is:
> 
> x <- matrix(seq(.1, by=.1, length.out=12), 4)
> qr(x)
> 
> 

Which other package?
Have a look at the result of  qr(x,LAPACK=T).
Do svd(x) and you will see that your matrix is ill-conditioned.
Similar results if you do rcond(x).

Berend

-- 
View this message in context: 
http://n4.nabble.com/qr-test-tp1558970p1559710.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org 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.

Reply via email to