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 April 5, 2024, 2:35 a.m.