File: range_nanozero.Rd

package info (click to toggle)
r-cran-bit 4.6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,000 kB
  • sloc: ansic: 5,145; sh: 13; makefile: 6
file content (29 lines) | stat: -rw-r--r-- 652 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bitsort.R
\name{range_nanozero}
\alias{range_nanozero}
\title{Remove zeros and get range and number of NAs}
\usage{
range_nanozero(x)
}
\arguments{
\item{x}{an integer vector}
}
\value{
an integer vector without zeros and with an attribute \code{\link[=range_na]{range_na()}}  with three
elements:
\enumerate{
\item min integer
\item max integer
\item number of NAs
}
}
\description{
Remove zeros and get range and number of NAs
}
\examples{
range_nanozero(c(0L, 1L, 2L, NA))
}
\seealso{
\code{\link[=range_na]{range_na()}} and \code{\link[=range_sortna]{range_sortna()}}
}