I am trying to figure out how to find the least squares estimate Bhat for a multivariate regression in R? Can someone help please?