Description Usage Arguments Value Author(s) Examples
Function to conduct cross validation of 'radish' models
1 | XXX
|
pts |
SpatialPoints object of sampled demes |
covariates |
RasterStack of raster layers for 'radish' model |
fmla |
Formula for model to be assessed. LHS should be the name of the distance matrix, RHS contains names of layers in 'covariates' |
model |
c('mlpe', 'wishart') |
prop_train |
Proportion of sample points used for fitting a training model. The remainder of points will be used in assessment. |
fit_full |
Should the full 'radish' model with all sample demes be fit (Default = TRUE) |
... |
Not used |
Named list containing the 'radish' model fit to the training data, the loglikehood of the test data, and (optionally) the model fit to the complete data set.
Bill Peterman
1 2 3 4 | ## Not Run:
## ** TO BE COMPLETED ** ##
## End (Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.