solveOrNull

Least squares coefficients for the supplied design matrix and response, or null when the system cannot be solved or the solution is not finite.