Description Usage Arguments Examples
Converts theta to hyperparameters
1 | parToList(theta, kernelList)
|
theta |
parameters to be estimated |
kernelList |
list of kernels |
1 2 3 4 5 | kernelList = list(k_longterm, k_seasonal, k_spatial)
attr(kernelList, "name") <- c("longterm", "seasonal", "spatial")
attr(kernelList, "parameters") <- list(c("q1","q2"), c("q3","q4","qs", "f"), c("s1", "s2"))
theta = c(log(1),log(1),log(1),log(1),log(1),log(1),log(1), log(1), log(0.2))
res = parToList(theta, kernelList)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.