| var | R Documentation |
Used inside vars() to attach documentation to a variable. Units are
stored and displayed; unit algebra (automatic consistency checking
inside equations) is on the roadmap.
var(label = "", unit = "", ...)
label |
Human-readable description, e.g. |
unit |
Unit of measurement, e.g. |
... |
Passed to |
When given numeric data instead of a character label, var()
delegates to stats::var(), so attaching qpmR does not break variance
computations.
An object of class qpm_var, or the result of stats::var().
vars(y_gap = var("Output gap", unit = "pp"))
var(rnorm(10)) # still the sample variance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.