dropNAs: Removes all rows from a dataframe based on columns that...

Description Usage Arguments Value

View source: R/dropNAs.R

Description

Removes all rows from a dataframe where the value in any column specified in "factors" contains an NA.

Usage

1
dropNAs(df, factors)

Arguments

df

- input dataframe (or object that can be cast to a dataframe)

factors

- vector of desired column names from df to sort by

Value

dataframe without NAs in factor columns


wStockhausen/wtsUtilities documentation built on Oct. 23, 2018, 10:27 p.m.