hsDelNaRowsOrCols | R Documentation |
Delete Rows or Columns Containing only NA
hsDelNaRowsOrCols(df, rows = TRUE, drop = FALSE)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.