Standardize (scale) a matrix/df and report interpretable errors
standardize_safely(x)
x
vector, data.frame, or matrix
scaled object as returned by scale function
scale