"["(x, i, j, ..., drop = TRUE)
"["(x, i, j, ..., drop = FALSE)
"["(x, i, j, ..., drop = TRUE)
"["(x, i, j, ..., drop = TRUE)
"["(x, i, j, ..., drop = TRUE)
"["(x, i, j, ..., drop = FALSE)
"["(x, i, j, ..., drop = FALSE)
"["(x, i, j, ..., drop = FALSE)
"subset"(x, ...)
"[["(x, i, ..., drop = FALSE)
"[["(x, i, ..., drop = FALSE)
"$"(x, name)
data.frame
, there are two cases: (1) if no other
arguments are supplied (i.e x[i]
), i
provides for
as.list
extraction: columns of the dataset rather than rows. If
character, identifies variables to extract based on their aliases (by
default: set options(crunch.namekey.dataset="name")
to use variable
names); if numeric or logical,
extracts variables accordingly. Alternatively, (2) if j
is specified
(as either x[i, j]
or x[i,]
), i
is an object of class
CrunchLogicalExpr
that will define a subset of rows.$
[
yields a Dataset; [[
and $
return a Variable