grpreg icon indicating copy to clipboard operation
grpreg copied to clipboard

Standardisation issue

Open dannychu1108 opened this issue 8 months ago • 1 comments

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.

dannychu1108 avatar May 31 '24 20:05 dannychu1108