Description Usage Arguments Value Author(s) Examples
Optimization function performing 5-fold validation and returning RMSE of estimates for inverse distance weighting.
1 2 3 4 | OrdKrig_optim_idw(par = c(idp = 2.0, maxdist=300, nmax=12, omax=3),
wpath = "/home/jbre/R/OrdKrig",
datafile = "master/Masterfile_AdigeVenosta.txt",
variable = "Humus____")
|
par |
see |
wpath |
see |
datafile |
path to and name of the data to optimize on |
variable |
see |
RMSE of local inverse distance weights estimations vs. observed data
Johannes Brenner, johannesbrenner@gmail.com
1 2 3 4 5 6 | # do not run!
# hydroPSO::hydroPSO(fn = OrdKrig_optim_idw, method="spso2011",
# lower = c(1,100,8,1), upper = c(16,1000,100,25),
# control=list(drty.out = "/home/jbre/R/OrdKrig/PSO_idw", npart=40,
# parallel="none", par.pkgs = c("gstat","caret","hydroGOF","sp")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.