This function requires the bigdata library section to be loaded.
as.bdVector(x) as.bdVector.data.frame(x) is.bdVector(x)
data.frame,
bdFrame, a vector,
or
bdVector.
For
is.bdVector, any S-PLUS object.
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.
dat <- as.bdFrame(fuel.frame) vec <- dat[,1] is.bdVector(vec) as.bdVector(rnorm(100000)) as.bdVector(fuel.frame[,1, drop=F])