Skip to main content

builtin_na_omit

Function builtin_na_omit 

Source
fn builtin_na_omit(
    args: &[RValue],
    _named: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Remove NA values from a vector.

Returns a new vector with all NA elements removed. Sets the “na.action” attribute to the indices of removed elements.

@param object vector @return vector with NAs removed