pasteNA: Paste Columns in a Dataframe and Suppress NAs

Description Usage Arguments

View source: R/ytUtility.R

Description

The function suppresses NAs when pasting columns together in a data frame.

Usage

1
pasteNA(..., sep = " ", collapse = NULL, na.rm = F)

Arguments

...

one or more R objects to be converted to character vectors.

sep

String A character string to separate the terms

collapse

String An optional character string to separate the results. See the base paste function help for details. Default is NULL

na.rm

Must set to TRUE to suppress NAs


Vintonm49/ytcol documentation built on May 27, 2019, 7:42 a.m.