Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

valid.n

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

Various Plotting Functions

v3.8-1
GPL (>= 2)
Authors
Jim Lemon, Ben Bolker, Sander Oom, Eduardo Klein, Barry Rowlingson, Hadley Wickham, Anupam Tyagi, Olivier Eterradossi, Gabor Grothendieck, Michael Toews, John Kane, Rolf Turner, Carl Witthoft, Julian Stander, Thomas Petzoldt, Remko Duursma, Elisa Biancotto, Ofir Levy, Christophe Dutang, Peter Solymos, Robby Engelmann, Michael Hecker, Felix Steinbeck, Hans Borchers, Henrik Singmann, Ted Toal, Derek Ogle, Darshan Baral, Ulrike Groemping, Bill Venables
Initial release
2021-01-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.