Big Data Vectors

DESCRIPTION:

Create or test for big data objects representing vectors.

This function requires the bigdata library section to be loaded.

USAGE:

as.bdVector(x)
as.bdVector.data.frame(x)
is.bdVector(x)

REQUIRED ARGUMENTS:

x
single-column data.frame, bdFrame, a vector, or bdVector.

For is.bdVector, any S-PLUS object.

VALUE:

as.bdVector returns an object that inherits from bdVector of an appropriate type, such as bdCharacter, bdFactor, bdLogical, bdNumeric, or bdTimeDate. (There should never be an object that actually has class "bdVector", only objects that inherit from this class.) If x is a single column data.frame, the method as.bdVector.data.frame is called.

is.bdVector returns TRUE if x inherits from bdVector, and FALSE otherwise.

SEE ALSO:

, , , , , .

EXAMPLES:

dat <- as.bdFrame(fuel.frame)
vec <- dat[,1]
is.bdVector(vec)

as.bdVector(rnorm(100000))

as.bdVector(fuel.frame[,1, drop=F])