Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Matrix:::qr()で作成した Matrixの関数で QR 分解を行いたいですB<-as(A, "sparseMatrix")。でR行列を取得できることを知っていMatrix:::qr.R()ます。ただし、Q マトリックスも必要です。Matrix パッケージには qr.Q() 関数がないようです。Q 行列を取得するにはどうすればよいですか?
Matrix:::qr()
B<-as(A, "sparseMatrix")
Matrix:::qr.R()