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


USCbiostats/partition documentation built on Feb. 3, 2024, 3:38 a.m.