Deleted:MASS::rlm method with na.action = na.exclude does not work
1
0
Entering edit mode
Arend ▴ 10
@b8a242dd
Last seen 23 months ago
Luxembourg

Hello everyone,

I have a question regarding the function rlm of the MASS package.

The function fits a linear model by robust regression and has the argument na.action. The user should have the option to specify the action to be taken if NAs are found. I explicitly run the function with na.exclude to return the fitted values with the same length as the input, but actually the NA values are just lost. Is na.action implemented in the rlm function because actually changing the parameter for na.action does not do anything?

Code Example of Running rlm with na.action = na.exclude

rlm MASS na.exclude NAs na.action • 487 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 948 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6