n_: n_

Description Usage Arguments Value Examples

View source: R/n_.R

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 10, 2017, 4:39 p.m.