is.na Method for Ocens Objects

# S3 method for class 'Ocens'
is.na(x)

Arguments

x

an object created by Ocens

Value

a logical vector whose length is the number of rows in x, with TRUE designating observations having one or both columns of x equal to NA

Examples

Y <- Ocens(c(1, 2, NA, 4))
Y
#> [1]  1  2 NA  4
#> attr(,"label")
#> [1] ""
#> attr(,"units")
#> [1] ""
is.na(Y)
#> [1] FALSE FALSE  TRUE FALSE