Crunch Expressions, i.e. CrunchExpr
and CrunchLogicalExpr
,
encapsulate derivations of Crunch variables, which are only evaluated when
passed to a function like as.vector
. They allow you to compose
functional expressions of variables and evaluate them against the server
only when appropriate.
x %in% table# S4 method for CrunchExpr
!(x)
# S4 method for CategoricalVariable,character
%in%(x, table)
# S4 method for CategoricalVariable,factor
%in%(x, table)
# S4 method for TextVariable,character
%in%(x, table)
# S4 method for NumericVariable,numeric
%in%(x, table)
# S4 method for DatetimeVariable,Date
%in%(x, table)
# S4 method for DatetimeVariable,POSIXt
%in%(x, table)
# S4 method for DatetimeVariable,character
%in%(x, table)
# S4 method for CategoricalVariable,numeric
%in%(x, table)
# S4 method for CategoricalVariable,numeric
==(e1, e2)
# S4 method for CategoricalVariable,character
==(e1, e2)
# S4 method for CategoricalVariable,factor
==(e1, e2)
# S4 method for CategoricalVariable,numeric
!=(e1, e2)
# S4 method for CategoricalVariable,character
!=(e1, e2)
# S4 method for CategoricalVariable,factor
!=(e1, e2)
# S4 method for CrunchVariable
is.na(x)
bin(x)
an input
For %in%
. See base::match()
an input
an input
Most functions return a CrunchExpr or CrunchLogicalExpr.
as.vector
returns an R vector.