empty_fill: Fill missing values

View source: R/empty_fill.R

empty_fillR Documentation

Fill missing values

Description

Fill missing values

Usage

empty_fill(x, type = c("const", "locf", "nocb"), fill = NA)

Arguments

x

vector, list, data.frame or data.table

type

character, one of "const", "locf" or "nocb". Defaults to "const"

fill

value to be used to fill when type=="const"

cols

numeric or character vector specifying columns to be updated. description

Value

x without missing values


salix-d/salix_miscFuns documentation built on Aug. 14, 2024, 7:45 p.m.