hsDelNaRowsOrCols: Delete Rows or Columns Containing only NA

View source: R/hsLibBase.R

hsDelNaRowsOrColsR Documentation

Delete Rows or Columns Containing only NA

Description

Delete Rows or Columns Containing only NA

Usage

hsDelNaRowsOrCols(df, rows = TRUE, drop = FALSE)

Arguments

df

data frame

rows

if TRUE, rows that only contain NAs are deleted, else columns.

drop

if TRUE and only one row/column remains this row/column is returned in forms of a vector instead as a data frame.


KWB-R/kwb.base documentation built on June 19, 2022, 3:30 a.m.