abess-team / abess

Fast Best-Subset Selection Library
https://abess.readthedocs.io/
Other
474 stars 41 forks source link

How I can aviod intercept when I do abess in R #511

Closed ZjpWei closed 1 year ago

ZjpWei commented 1 year ago

I'm trying to use Abess in R, I didn't find any option in argument for avioding intercept. I also try to use fomular: y ~ 0 + x to aviod intercept but fail.

Is there a way to do that?

Mamba413 commented 1 year ago

Great! This feature request is very similar to https://github.com/abess-team/abess/issues/507 for the Python interface. We are implementing this feature now. And I make a note that implementing this feature in C++ may take some time. Thank you for bringing this to my attention.