1 2 3 4 5 | optimist_mean(x, halflife = length(x), type = c("arithmetic", "geometric"))
optimist_var(x, halflife = length(x))
optimist_cov(x, halflife = nrow(as.matrix(x)), cor = FALSE)
|
halflife |
the value for time-weighting. See optimist_wt. |
object |
x |
mean, variance and convariance matrix of x
with halflife h
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.