na.omit.strip: na.omit.strip

View source: R/CodeAndRoll2.R

na.omit.stripR Documentation

na.omit.strip

Description

Calls na.omit() and returns a clean vector. Omit NA values from a vector and return a clean vector without any spam.

Usage

## S3 method for class 'strip'
na.omit(object, silent = FALSE, ...)

Arguments

object

Values to filter for NA

silent

Silence the data structure coversion warning: anything ->vector

...

Pass any other argument to na.omit()

Examples

# CodeAndRoll2::na.omit.strip(c(1, 2, 3, NA, NaN, 2))

vertesy/CodeAndRoll2 documentation built on Nov. 20, 2024, 5:23 a.m.