na_omit_c: Remove NAs from a vector

View source: R/RcppExports.R

na_omit_cR Documentation

Remove NAs from a vector

Description

This function is needed for the direct translation of the R functions to C++. This function is taken from StackOverflow approximately: https://stackoverflow.com/questions/19156353/remove-na-values-efficiently

Usage

na_omit_c(x)

Arguments

x

a vector (possibly with NAs)

Examples

na_omit_c(c(NA,5,10,NA,303))

katzfuss-group/NPVecchia documentation built on April 15, 2022, 2:23 a.m.