Description Usage Arguments Details Value Author(s)
View source: R/svm_model_caret.R
Function overlays the ground stations and the grid, trains and predicts using the caret package function train.
1 2 | svm_model_caret(groundstations, method.overlay = "extract", formula,
variable, grid_prediction, length = 20, method = "svmRadial")
|
groundstations |
Data from the ground station in spatial format without na values |
method.overlay |
Method to overlay the points and the grid, choose between over (1 cell) and extract function (which averages over 4 nearest cells) |
formula |
formula used for the kriging interpolation |
variable |
the variable of the groundstations you want to interpolate |
grid_prediction |
trend grid for the interpolation with same spatial extent as groundstations |
length |
tune length of the model |
method |
model caret |
after running this function take a look at get_statistical_summary
returns a list with the interpolation output and a dataframe with the difference between your observations and predicted grid
Marieke Dirksen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.