ffbase (version 0.12.8)

ffdfrbind.fill: rbind for ffdf where missing columns are added if not available in one of the ffdf objects

Description

rbind for ffdf where missing columns are added if not available in one of the ffdf objects. Similarly as rbind.fill but for ffdf objects

Usage

ffdfrbind.fill(..., clone = TRUE)

Arguments

...

2 or more ffdf objects

clone

logical, indicating to clone the first ffdf object in ... or not before appending the other objects. Defaults to TRUE.

Value

an ffdf where the ffdf objects are rbind-ed together. Missing columns in either one of the passed ffdf objects are set to NA values.

Examples

Run this code
# NOT RUN {
x <- ffdfrbind.fill( as.ffdf(iris), 
                     as.ffdf(iris[, c("Sepal.Length", "Sepal.Width"
                                     , "Petal.Length")]))
class(x)
nrow(x)
sum(is.na(x$Petal.Width))



# }

Run the code above in your browser using DataLab