powered by
The generic function is.na indicates which elements are missing. The generic function is.na<- sets elements to NA.
is.na
is.na<-
NA
# S3 method for ff is.na (x, ...)# S3 method for ff is.na (x, ...) <- value
# S3 method for ff is.na (x, ...) <- value
a ff vector
ff
other parameters passed on to chunk
a suitable ff index vector for use with x
A logical ff vector of the same length of x indicating if the ff vector contains missing values.
is.na, ffvecapply
# NOT RUN { is.na.ff(ff(c(NA, 1:100)), BATCHBYTES=20) ## S3 generic is.na(ff(c(NA, 1:100))) ## Assign a missing value x <- ff(c(NA, 1:100)) is.na(x) <- ff(c(3,5)) x is.na(x) <- 7:8 x # }
Run the code above in your browser using DataLab