| Line 71... |
Line 71... |
| 71 |
but if \code{a} is a rectangular matrix the QR decomposition is
|
71 |
but if \code{a} is a rectangular matrix the QR decomposition is
|
| 72 |
computed first. Either will handle over- and under-determined
|
72 |
computed first. Either will handle over- and under-determined
|
| 73 |
systems, providing a least-squares fit if appropriate.
|
73 |
systems, providing a least-squares fit if appropriate.
|
| 74 |
|
74 |
|
| 75 |
\code{is.qr} returns \code{TRUE} if \code{x} is a \code{\link{list}}
|
75 |
\code{is.qr} returns \code{TRUE} if \code{x} is a \code{\link{list}}
|
| 76 |
with components named \code{qr}, \code{rank} and \code{qraux} and
|
76 |
and \code{\link{inherits}} from \code{"qr"}.% not more checks, for speed.
|
| 77 |
\code{FALSE} otherwise.
|
- |
|
| 78 |
|
77 |
|
| 79 |
It is not possible to coerce objects to mode \code{"qr"}. Objects
|
78 |
It is not possible to coerce objects to mode \code{"qr"}. Objects
|
| 80 |
either are QR decompositions or they are not.
|
79 |
either are QR decompositions or they are not.
|
| 81 |
|
80 |
|
| 82 |
The LINPACK interface is restricted to matrices \code{x} with less
|
81 |
The LINPACK interface is restricted to matrices \code{x} with less
|