Description Usage Arguments Value
Systematically assigns the locations of a data frame into folds which are checkered across space for cross-validation. Assumes the sites are sorted (e.g., left to right, bottom to top).
1 2 | sp_checker(nfolds, nsites, grid.h = sqrt(nsites),
grid.w = sqrt(nsites))
|
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.