powered by
Helper function that checks for sensible covariate matrix.
checkX(X)
numeric matrix of covariates, \(n\) design points by \(p\) covariates, for a given model and design points.
throws an error if not full rank.