n_: n_

Description Usage Arguments Value Examples

Description

n_ returns the length of a vector, excluding NA, NaN, and Infinite values.

Usage

1
n_(x)

Arguments

x

A vector

Value

Length of 'x', ignoring NA, NaN, and Infinite values

Examples

1
2
3
#example_vector <- sample(c(1,2,3,NA, Inf, NaN), 100, replace = T)
#length(example_vector)
#n_(example_vector)

TaylorAndrew/atExplore documentation built on May 9, 2019, 4:22 p.m.