remove_empty {clickR} | R Documentation |
remove_empty
Description
Removes empty rows or columns from data.frames
Usage
remove_empty(x, remove_rows = TRUE, remove_cols = TRUE, track = TRUE)
Arguments
x |
A data.frame |
remove_rows |
Remove empty rows? |
remove_cols |
Remove empty columns? |
track |
Track changes? |
Examples
mydata <- data.frame(a = c(NA, NA, NA, NA, NA), b = c(1, NA, 3, 4, 5),
c=c(NA, NA, NA, NA, NA), d=c(4, NA, 5, 6, 3))
remove_empty(mydata)
[Package clickR version 0.9.39 Index]