Learn R Programming

crunch (version 1.30.4)

expressions-internal: Crunch expressions internal

Description

See expressions for more details.

Usage

x %in% table

crunchDifftime(e1, e2, resolution = NULL)

datetimeFromCols(year, month, day, hour = NULL, minute = NULL, second = NULL)

e1 %ornm% e2

# 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 CrunchVarOrExpr is.na(x)

is.valid(x)

bin(x)

selectCategories(x, selections, collapse = TRUE)

crunchBetween(x, lower, upper, inclusive = c(TRUE, FALSE))

rowAll(x, na.rm = FALSE)

rowAny(x, na.rm = FALSE)

rowAnyNA(x)

rowAllNA(x)

# S4 method for CrunchVarOrExpr complete.cases(x, ...)

# S4 method for CrunchVarOrExpr is.selected(x)

asSelected(x)

selectedDepth(x)

arraySelections(x)

# S4 method for CrunchVarOrExpr nchar(x, type = "chars", allowNA = FALSE, keepNA = NA)

trim(x, min, max)

alterCategoriesExpr( x, categories = NULL, category_order = NULL, subvariables = NULL )

alterArrayExpr( x, add = NULL, order = NULL, order_id = c("alias", "name", "id"), remove = NULL, remove_id = c("alias", "name", "id"), subreferences = NULL, subreferences_id = c("alias", "name", "id") )

arraySubsetExpr(x, subvars, subvar_id = c("alias", "name", "id"))

makeFrame(x, numeric = NULL)

Value

Most functions return a CrunchExpr or CrunchLogicalExpr. as.vector returns an R vector.

Arguments

x, e1, e2

inputs

table, na.rm, upper, lower, inclusive, selections, collapse,

cases,data,resolution,year,month,day,hours,minutes,seconds,min,max,categories,category_order, subvariables,remove,remove_id,subreferences,subreferences_id Other parameters used in some functions, see details of expressions for more details.