| var_aug | R Documentation |
If wt is an integer, this is var(c(x, rep(A, wt))). But we generalize it to non-integer wt as well.
var_aug(x, A, wt = 1)
x |
Data |
A |
Prior value |
wt |
Weight for A. Don't touch this unless you know what you are doing. |
The augmented variance
David Gerard
var_aug(c(1, 2, 3), 4, wt = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.