View source: R/construct_grid.R
construct_weekly_grid | R Documentation |
Computes the location-bandwidth weekly grid for the multiscale test.
construct_weekly_grid(t, min_len = 7, nmbr_of_wks = 4)
t |
Sample size. |
min_len |
Minimal length of the interval considered. The grid then consists of intervals with lengths min_len, 2 * min_len, 3 * min_len, ... Default is 7, i.e. a week. |
nmbr_of_wks |
Number that determines the longest intervals in the grid: the length of this interval is calculated then as min_len * nmbr_of_wks. Default is 4. |
A list with the following elements:
gset |
Matrix of location-bandwidth points |
bws |
Vector of bandwidths. |
lens |
Vector of length = length(bws), lens[i] gives the number of locations in the grid for the i-th bandwidth level. |
gtype |
Type of grid that is used, always 'default'. |
gset_full |
Matrix of all location-bandwidth pairs |
construct_weekly_grid(100)
construct_weekly_grid(100, min_len = 7, nmbr_of_wks = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.