Learn R Programming

SwimmeR (version 0.14.2)

fill_left: Shifts non-NA values to left in data frame

Description

Moves non-NA data left into NA spaces, then removes all columns that contain only NA values

Usage

fill_left(df)

Value

a data frame where all values have been pushed left, replacing `NA`s, and all columns containing only `NA`s have been removed

Arguments

df

a data frame having some `NA` values

See Also

fill_left is a helper function inside lines_sort and splits_parse