This function is generic (see Methods); method functions can be written to handle specific classes of data. Classes which already have methods for this function include: svd.right, upper.
solve(a, b, ...) solve.default(a, b)
t for the transpose of a matrix.
amat <- matrix(c(19,8,11,2,18,17,15,19,10), nrow = 3) ainv <- solve(amat) # invert amataqr <- qr(amat) b1 <- c(9,5,14) solve(aqr, b1)