Learn R Programming

do (version 2.0.0.1)

delete_left: Delete and Move Left the rest Values

Description

Delete and Move Left the rest Values

Usage

delete_left(x, delete)

Value

dataframe or matrix

Arguments

x

dataframe or matrix

delete

one delete object

Examples

Run this code
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_left(x=df,NA)

Run the code above in your browser using DataLab