Update a variable or variables in a dataset
# S4 method for CrunchDataset,character,missing,CrunchVariable
[[(x,
i) <- value# S4 method for CrunchDataset,ANY,missing,CrunchVariable
[[(x, i) <- value
# S4 method for CrunchDataset,character,missing,ANY
[[(x, i) <- value
# S4 method for CrunchDataset,character,missing,CrunchLogicalExpr
[[(x,
i) <- value
# S4 method for CrunchDataset,ANY,ANY,ANY
[[(x, i) <- value
# S4 method for CrunchDataset,character,missing,`NULL`
[[(x, i) <- value
# S4 method for CrunchDataset,ANY,missing,`NULL`
[[(x, i) <- value
# S4 method for CrunchDataset
$(x, name) <- value
# S4 method for CrunchDataset,character,missing,CrunchGeography
[[(x,
i) <- value
# S4 method for CrunchDataset,ANY,missing,CrunchGeography
[[(x, i) <- value
# S4 method for CrunchDataset,ANY,missing,list
[(x, i, j) <- value
# S4 method for CrunchDataset,CrunchExpr,ANY,ANY
[(x, i, j) <- value
a CrunchDataset
For [
, a CrunchLogicalExpr
, numeric, or logical
vector defining a subset of the rows of x
. For [[
, see
j
for the as.list column subsetting.
replacement values to insert. These can be crunchExpr
s
or R vectors of the corresponding type
like j
but for $
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. Note that this is the as.list
extraction, columns of the dataset rather than rows.
x
, modified.