powered by
Delete and Move Up the Rest Values
delete_up(x, delete)
dataframe or matrix
one delete object
a=c(1,NA,7,NA) b=c(NA,2,2,7) d=c(1,NA,40,7) df=data.frame(a,b,d) delete_up(x = df,delete = NA)
Run the code above in your browser using DataLab