valid.n: Find the number of valid (not NA) values

View source: R/brkdnNest.R

valid.nR Documentation

Find the number of valid (not NA) values

Description

Finds the number of valid (not NA) or total values in an object.

Usage

 valid.n(x,na.rm=TRUE)

Arguments

x

An object.

na.rm

Whether to count all values (FALSE) or only those not NA.

Details

⁠valid.n⁠’ finds the number of valid values of the object if ‘⁠na.rm=TRUE⁠’.

Value

The number of valid values or the length of the object.

Author(s)

Jim Lemon


plotrix documentation built on Nov. 10, 2023, 5:07 p.m.