a string indicating whether the QR decomposition,
the Cholesky decomposition or solve should be used.
Details
Using the Cholesky decomposition of X'X (as computed by crossprod(X))
is computationally faster and preferred to solve(crossprod(X)). Using the
QR decomposition of X is slower but should be more accurate.