na.remove: Remove Missing Values from Object

View source: R/helpers.R

na.removeR Documentation

Remove Missing Values from Object

Description

Silently removes missing values or incomplete cases with NAs.

Usage

na.remove(x)

Arguments

x

Object passed to na.omit.

Value

x with NAs removed.

See Also

Other helper functions: capitalize_words, ch1903_to_wgs84, clean_strings, format_addresses, format_scientific_names, is.empty, lvapply, melt_by_listcol, normalize_language, parse_scientific_names, quotemeta, replace_values_in_list, sp_transform, subset_search_results, unique_na

Examples

str(stats::na.omit(c(1, NA)))
str(na.remove(c(1, NA)))

falling-fruit/fruitr documentation built on Dec. 21, 2024, 8:32 p.m.