This function requires the bigdata library section to be loaded.
bd.relational.restrict(data, restriction)
bdFrame
or
data.frame
.
bdFrame
or
data.frame
,
of the same type as
data
,
with rows fulfilling the
restriction
included.
This function determines whether each row should be selected by
evaluating the
restriction
. The result should be a
logical value.
## Get only those rows where Weight>3000. bd.relational.restrict(fuel.frame, "Weight>3000")
## Remove rows where Type=="Van". bd.relational.restrict(fuel.frame, "Type=='Van'")