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


sneumann/xcms documentation built on Nov. 23, 2024, 6:53 p.m.