Closed aalfons closed 4 years ago
An internal function is_robust()
would be useful, especially if also the output structure is changed to reflect the input. Maybe functions such as have_MM()
and have_median()
would be useful too.
Argument median
is deprecated in version 0.6.0, with functionality robust="median"
already implemented. Argument median
can be deleted in a future version, probably already the next one.
Implemented.
Instead of using
robust=TRUE
andmedian=TRUE
for median regression, userobust="median"
. So argumentrobust
can either be logical (TRUE
: MM regression,FALSE
: OLS regression), or a character ("MM"
: MM regression,"median"
: median regression).