Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

is.na.ff

'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

Examples

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

ffbase

Basic Statistical Functions for Package 'ff'

v0.13.3
GPL-3
Authors
Edwin de Jonge, Jan Wijffels, Jan van der Laan
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.