So I tried to use df <- remove_empty(df, which=c("rows","cols"), cutoff = 1). It did not remove any of it even though there are empty slots in the data. Not sure what I did wrong or what I need to do to change, to make it remove the row entirely.
The results remained the same, as the blank spaces are still there and have yet to be omitted.


Consider this example data.frame, which has empty strings (and some NA's).
First, you want to
replacethe empty strings withNA's and assign it back todat[],then subset the rows with
complete.cases.In one step:
Data: