dot-fillNAgaps: Fill NA values with last previous value

.fillNAgapsR Documentation

Fill NA values with last previous value

Description

Fill NA values with last previous value

Usage

.fillNAgaps(x)

Arguments

x

a vector of values

Value

a vector with any NA values replaced with the last previous actuall value

Author(s)

Christian Trachsel

Examples

c(NA, 1, 2, 3, NA, 4, 5, NA, NA, NA, 6) |>
  rawDiag:::.fillNAgaps()

protViz/rawDiag documentation built on May 4, 2024, 5:35 a.m.