View source: R/compute_T_star.R
compute_T_star | R Documentation |
This helper function computes lengths of fine-scale chunks in the hierarchical case.
compute_T_star(horizon, period, dates = NULL, seed = NULL)
horizon |
The element |
period |
The element |
dates |
A |
seed |
Set a seed for the simulation of flexible chunk lengths.
By default, |
An integer
vector of fine-scale chunk sizes.
## Not run:
### weekly fine-scale chunk sizes for 10 coarse-scale observations
horizon <- c(10, NA_integer_)
period <- "w"
compute_T_star(horizon, period)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.