Closed zhan-gao closed 7 years ago
when s is a scalar, beta.mat is not a matrix it causes a bug since ncol(beta.mat) = NULL when beta.mat is a numeric vector
Thank you for catching the bug in coef.bs. I just fixed this. As for the intercept, it is already being computed correctly.
when s is a scalar, beta.mat is not a matrix it causes a bug since ncol(beta.mat) = NULL when beta.mat is a numeric vector