drop_na_columns: Drop Columns with NA

Description Usage Arguments Value

View source: R/modules.R

Description

we've used two methods of handling it and the system handles dataframe of type data.table differently compared to others.

  1. for the given dataframe we filter out those columns which are not NA and return the dataframe

  2. we choose whether to do splicing or using the Filter function based on the type of dataframe

Usage

1

Arguments

df

dataframe as an input

Value

returns a dataframe without those columns which have na values


Paradigm4/scidbhelper documentation built on Oct. 30, 2019, 9:37 p.m.