N: Number of observations

View source: R/N.R

NR Documentation

Number of observations

Description

Number of observations excluding NA values.

Usage

  N(y)

Arguments

y

a vector of numerics

Details

It removes NA values from the input vector.

Value

Count of the observations

Author(s)

Kyun-Seop Bae k@acr.kr


sasLM documentation built on July 14, 2026, 5:06 p.m.