Description Usage Arguments Value
Assigns the locations of a data frame into contiguous
blocks folds for cross-validation. Assumes the sites are
sorted (e.g., left to right, bottom to top).
WARNING: Works well for perfect squares that can be
divided into nfolds
perfect squares ONLY.
1 |
nfolds |
number of folds to divide the space into |
nsites |
number of locations in the regular grid |
grid.h |
height of the grid (in number of sites).
Default is |
grid.w |
width of the grid (in number of sites).
Default is |
a vector with the fold assignment of each location
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.