SLOPE icon indicating copy to clipboard operation
SLOPE copied to clipboard

adding only_noneros argument to coef()

Open kushagragpt99 opened this issue 5 years ago • 3 comments

Adding the argument 'only_nonzeros' to coef() to print only nonzero coefficients. GSoC 2021 task for the project 'Adding Adaptive Bayesian SLOPE (ABSLOPE) to the SLOPE Package'.

kushagragpt99 avatar Mar 18 '21 11:03 kushagragpt99

Checks related to rebuilding the vignette from introduction.Rmd have failed, I'm not sure if changes made to coef.R might have affected that.

kushagragpt99 avatar Mar 18 '21 11:03 kushagragpt99

Checks related to rebuilding the vignette from introduction.Rmd have failed, I'm not sure if changes made to coef.R might have affected that.

Probably. The problem is that you've made the only_nonzeros argument TRUE by default, so it'll have all kinds of unexpected consequences for tests and examples in the package, since coef() is used in several places.

jolars avatar Mar 23 '21 07:03 jolars

Yep, thanks a lot for pointing that out. I have made the change.

kushagragpt99 avatar Mar 23 '21 10:03 kushagragpt99