File: relevantValues.R

package info (click to toggle)
r-cran-spatstat.utils 3.2-2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 628 kB
  • sloc: ansic: 1,889; sh: 4; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#'
#' relevantValues.R
#'
#' $Revision: 1.2 $ $Date: 2021/03/06 11:08:11 $
#'

RelevantZero <- function(x) vector(mode=typeof(x), length=1L)
isRelevantZero <- function(x) identical(x, RelevantZero(x))
RelevantEmpty <- function(x) vector(mode=typeof(x), length=0L)
RelevantNA <- function(x) { RelevantZero(x)[2] }