Construct a bdFrame Object

DESCRIPTION:

Construct a bdFrame object, from a combination of bdFrame, bdVector, data.frame, and vector inputs.

This function requires the bigdata library section to be loaded.

USAGE:

bdFrame(..., check.names=T, na.strings="NA",
        stringsAsFactors=F)

ARGUMENTS:

...
objects to be included in the data frame. These can be vectors (numeric, character, or logical), factors, numeric matrices, lists, other data frames, bdVector and other bdFrame objects. Matrices, lists, data frames and bdFrames provide as many variables to the new data frame as they have columns, elements, or variables, respectively.

The treatment of objects appearing in a call depends on the existence of corresponding methods for .

check.names
a logical flag; if TRUE, the variable names will be made into legal S object names, by replacing illegal characters, like blanks, parentheses, or commas by . (type ?make.name for details).
na.strings
a character vector. When character valued input columns are converted from factors, values found in na.strings are considered to be missing values. The default is "NA". character(0) means that no strings will be considered missing values.
stringsAsFactors
a logical flag; if TRUE then convert character arguments to factors whose levels are the unique strings in the argument. This may save time and space if there a many repeated values in the strings and may make the statistical modelling functions easier to use.

VALUE:

a bdFrame consisting of all the variables supplied in the arguments. The variables are required to have the same number of observations.

DETAILS:

A bdFrame is similar to a data.frame, and this function is like in how it handles inputs that are not bdFrame or bdVector objects.

A bdFrame object can contain columns of only types double, character , factor, timeDate, timeSpan or logical.

SEE ALSO:

, ,

EXAMPLES:

bdFrame(fuel.frame)
bdFrame(fuel.frame, a=1:60, c=list(d=2:61, e=3:62))
x <- as.bdVector(1:9)
bdFrame(x, rev(x))