Learn R Programming

EigenR (version 1.2.3)

Eigen_QR: QR decomposition of a matrix

Description

QR decomposition of a real or complex matrix.

Usage

Eigen_QR(M)

Arguments

M

a matrix, real or complex

Value

A list with the Q matrix and the R matrix.

Examples

Run this code
# NOT RUN {
M <- cbind(c(1,2,3), c(4,5,6))
x <- Eigen_QR(M)
x$Q %*% x$R
# }

Run the code above in your browser using DataLab