remove_empty_cols.RdUseful to remove unmapped columns extracted from EcoTaxa, which are all full of NAs.
remove_empty_cols(x)
| x | a data.frame. |
|---|
The input data.frame with the columns that are full of NAs removed
#> a b c #> 1 1 NA <NA> #> 2 NA NA fooremove_empty_cols(x)#> a c #> 1 1 <NA> #> 2 NA foo