handle_missing: Process reduced variables when missing data

fill_in_missingR Documentation

Process reduced variables when missing data

Description

Process reduced variables when missing data

Usage

fill_in_missing(x, .na, .fill = NA)

swap_nans(.x)

Arguments

x

a vector, the reduced variable

.na

a logical vector marking which are missing

.fill

what to fill the missing locations with

Value

a vector of length nrow(original data)

a character vector


malcolmbarrett/partition2 documentation built on Nov. 12, 2024, 1:24 p.m.