1) Changes how R figures out na.rm for the direct numeric functions like mean, sd, etc.
2) Open up the possibility of using na.rm in crtabs() like crtabs(mean(ds$age, na.rm = FALSE) ~ 1, ds) though don't change the default here even though this isn't consistent with base R, preserve backwards compatibility even though it means that na.rm defaults to TRUE in crtabs() (and decks and tabbooks).
1) Changes how R figures out
na.rm
for the direct numeric functions likemean
,sd
, etc.2) Open up the possibility of using
na.rm
incrtabs()
likecrtabs(mean(ds$age, na.rm = FALSE) ~ 1, ds)
though don't change the default here even though this isn't consistent with base R, preserve backwards compatibility even though it means thatna.rm
defaults toTRUE
incrtabs()
(and decks and tabbooks).