Description Usage Arguments Value See Also
View source: R/gen_data_utils.R
Transform multiple spatio-temporal data sets in a list of lists into a list of lists containing data frames that have a spatio-temporal embed. Only data for "interior" points in the grid is kept. That is, points that do not have four immediate neighbours are filtered out.
1 2 | lag_multiple_datasets(data_list, LAG_use, SLAGS,
min_time = rep(max(LAG_use), length(LAG_use)))
|
data_list |
A multi-level list as the ones generated by
|
LAG_use |
A vector of the temporal lag orders to use. |
SLAGS |
A list containing vectors of length of the corresponing temporal lag size. Each of the vectors contains values of 0 meaning no neighbour columns are used at that temporal lag, and/or values of 1 meaning that the values of immediate neighbours are included for that temporal lag. |
min_time |
A vector of the minimum time-stamps to be included in
the datasets. Defaults to |
A list of lists similar to data_list, but with the data sets having spatio-temporal embeds.
generate_multiple_datasets
,
st_lag_neib_ord1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.