Learn R Programming

wrMisc (version 1.15.3.1)

.extrNAneighb: Extract NA-neighbour values

Description

This function allows extracting NA-neighbour value

Usage

.extrNAneighb(x, grp)

Value

snumeric vector

Arguments

x

initial matrix to treat

grp

(factor) grouing of replicates

See Also

unique, nonAmbiguousNum, faster than firstOfRepeated which gives more detail in output (lines/elements/indexes of omitted)

Examples

Run this code
.extrNAneighb(c(11:14,NA), rep(1,5))

Run the code above in your browser using DataLab