ffdfrbind.fill: rbind for ffdf where missing columns are added if not...

Description Usage Arguments Value Examples

View source: R/rbind_ffdf.R

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

1

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

1
2
3
4
5
6
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))

ffbase documentation built on Feb. 27, 2021, 5:06 p.m.