na.flatfill: Fill in NA values at the extremes of a vector

View source: R/functions-xcmsSet.R

na.flatfillR Documentation

Fill in NA values at the extremes of a vector

Description

Extend the first and last real values in a vector to fill in any NA values present.

Usage

na.flatfill(x)

Arguments

x

numeric vector with NA values

Value

Modified vector.

Author(s)

Colin A. Smith, csmith@scripps.edu


xiaodfeng/DynamicXCMS documentation built on Aug. 6, 2023, 3:02 p.m.