remove_na: Remove NA values from vectors

View source: R/nonparboot.R

remove_naR Documentation

Remove NA values from vectors

Description

This function removes NA values from a list of vectors. If na_rm is TRUE, it removes all NA values from the input vectors. Otherwise, it returns the input vectors unchanged.

Usage

remove_na(na_rm, ...)

Arguments

na_rm

A logical value indicating whether to remove NA values.

...

One or more vectors from which to remove NA values.

Value

A list of vectors with NA values removed (if na_rm is TRUE), or the input vectors unchanged (if na_rm is FALSE).


npboottprm documentation built on Sept. 13, 2024, 5:06 p.m.