Description Usage Arguments Value
Fold allocation of k-fold CV using:
blocked time
randomly assigned locations
1 2 |
data |
full dataset |
nfolds |
number of folds |
t.nfolds |
number of folds across time. Default is sqrt( |
sp.nfolds |
number of folds across space. Default is sqrt( |
time |
column name of time-stamp in |
site_id |
column name of location identifier in |
A list with slots:
data
, possibly re-ordered
f
, a vector with the fold identifiers of each row in data
.
The fold identifier is composed of the concatenation of time-fold number
(from 1
to t.nfolds
) and space-fold number
(from 1
to sp.nfolds
), separated by "_".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.