File: valid.n.Rd

package info (click to toggle)
r-cran-plotrix 3.2-6-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,136 kB
  • sloc: makefile: 3
file content (21 lines) | stat: -rwxr-xr-x 523 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\name{valid.n}
\alias{valid.n}
\title{
 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{
 \item{x}{An object.}
 \item{na.rm}{Whether to count all values (FALSE) or only those not NA.}
}
\details{
 \samp{valid.n} finds the number of valid values of the object if \samp{na.rm=TRUE}.
}
\value{The number of valid values or the length of the object.}
\author{Jim Lemon}
\keyword{misc}