importance_weights | R Documentation |
importance_weights()
creates a vector of importance weights which allow you
to apply a context dependent weight to your observations. Importance weights
are supplied as a non-negative double vector, where fractional values are
allowed.
importance_weights(x)
x |
A double vector. |
A new importance weights vector.
frequency_weights()
importance_weights(c(1.5, 2.3, 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.