is.na.ff {ffbase}R Documentation

'Not Available' / Missing Values for ff vectors

Description

The generic function is.na indicates which elements are missing.
The generic function is.na<- sets elements to NA.

Usage

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

## S3 replacement method for class 'ff'
 is.na(x, ...) <- value

Arguments

x

a ff vector

...

other parameters passed on to chunk

value

a suitable ff index vector for use with x

Value

A logical ff vector of the same length of x indicating if the ff vector contains missing values.

See Also

is.na, ffvecapply

Examples

is.na.ff(ff(c(NA, 1:100)), BATCHBYTES=20, VERBOSE=TRUE)
## 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




[Package ffbase version 0.12.8 Index]