Description Usage Arguments Value Examples
split_validation
takes an object of class Obs
and returns a list of two objects of class Obs
, where one object
contains the training data and the other contains the validation data. If the data is spatio-temporal, the validation data can be chosen to be
co-located in space.
1 2 3 4 | split_validation(.Object, samples, common, ...)
## S4 method for signature 'Obs'
split_validation(.Object, samples, common = 0, ...)
|
.Object |
an object of class |
samples |
an integer identifying the number of observations to use for validation. |
common |
a flag which, if 1, indicates that validation data should be chosen to coincide spatially. This flag is not relevant if the data is not spatio-temporal. |
... |
further arguments passed on to |
a list of two objects of class Obs
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.