grpreg
grpreg copied to clipboard
Standardisation issue
Hi,
A lot of variables in X were in binary and it may not be the best idea to standardize them. May I know if there is any modification that you can make to make sure my data was not standardized?
Also, I was trying to type in one lambda value to fit my Cox regression, but what I had was
Error in matrix(0, nrow = length(XG$scale), ncol = ncol(b)) :
non-numeric matrix extent
But the matrix worked fine when I didn't state the lambda value.