naprint(x, ...) ## Default S3 method: naprint(x, ...) ## S3 method for class 'exclude': naprint(x, ...) ## S3 method for class 'omit': naprint(x, ...)
x | An object created by an na.action function such as na.exclude. Typically this is a component of a model object for which an na.action was specified. |
... | Other methods may use more arguments, but the basic methods listed here do not. |
df <- data.frame(a = 1:5, b = (1:5)^2, c = c((1:4)^2, NA), d = c((1:3)^2, NA, NA)) naprint(attr(na.exclude(df), "na.action")) naprint(na.action(na.omit(df))) naprint(na.action(na.pass(df)))