Description Usage Arguments Value
This function generates testing sets for blockwise cross-validation in spatiotemporal data analysis.
1 | block.cv(locations, nblock.x, nblock.y, nblock.t, nfold)
|
locations |
A matrix with three columns stores the locations of data points. The first two columns are spatial locations. |
nblock.x |
Number of bins in x-dimension. |
nblock.y |
Number of bins in y-dimension. |
nblock.t |
Number of bins in t-dimension. The total number of
blocks is equal to |
nfold |
Number of folds in cross-validation. |
Fold |
A list of length |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.