[Rd] na.exclude.default returns class "omit" (PR#6420)

Roger.Bivand at nhh.no Roger.Bivand at nhh.no
Wed Jan 7 12:28:35 MET 2004

Full_Name: Roger Bivand
Version: 1.8.1, R-Devel
OS: Linux
Submission from: (NULL) (

na.exclude.default() in src/library/base/R/nafns.R in 1.8.1 and stats/R/nafns.R
in devel copies na.omit.default() and sets:

	attr(omit, "class") <- "omit"

while na.exclude.data.frame() sets the class to "exclude" as advertised. This
affects functions using the class of na.action objects.

More information about the R-devel mailing list