NA_remove: remove NA and make a message with number of units deleted

View source: R/NA_utils.R

NA_removeR Documentation

remove NA and make a message with number of units deleted

Description

like na.omit but print a message

Usage

NA_remove(x, ...)

Arguments

x

something handled by stats::na.omit

...

other options passed to proper methods

Examples

nona <- NA_remove(data.frame(a = 1:6,
                             b = c(NA, 3, NA, 4, 5, 6),
                             c = c(rep(NA, 4), 'a', 'b')))


lbraglia/lbmisc documentation built on March 28, 2024, 10:03 a.m.