R/Ocens.r
is.na.Ocens.Rd
is.na Method for Ocens Objects
# S3 method for class 'Ocens' is.na(x)
an object created by Ocens
Ocens
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
x
TRUE
NA
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