is.weight<- | R Documentation |
weight
lets you view and set your user's currently applied weight on the
server. weightVariables
lets you view all of the variables that have been
designated as valid to use as weights.
is.weight(x) <- value
weight(x)
weight(x) <- value
## S4 replacement method for signature 'Analysis,CrunchVariable'
weight(x) <- value
## S4 replacement method for signature 'Analysis,'NULL''
weight(x) <- value
## S4 method for signature 'CrunchDataset'
weight(x)
## S4 replacement method for signature 'CrunchDataset,ANY'
weight(x) <- value
is.weight(x)
## S4 replacement method for signature 'NumericVariable'
is.weight(x) <- value
x |
a Dataset |
value |
a Variable, VariableDefinition, or |
For the weight
getter, a Variable if there is a weight, else
NULL. For the setter, x, modified accordingly. weightVariables
returns
the aliases (or names, according to options(crunch.namekey.dataset)
),
of the variables designated as weights.
weightVariables()
makeWeight()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.