na_max: na_max

Description Usage Arguments Value See Also

View source: R/na_max.R

Description

Replace NA values with the max

Usage

1
na_max(x)

Arguments

x

numeric; vector to have NA values replaced.

Replaces NA values with the max of the series. Will return NA if all the values are NA

Value

A vector of the same length as x with NA replaced by the max

See Also

na_replace, na_min


decisionpatterns/na.actions documentation built on Aug. 25, 2020, 8:04 p.m.