Description Usage Arguments Examples
Plot the evolution of the energy state and the optimized sample configuration
1 2 3 |
x |
Object of class |
which |
Which plot should be produced: evolution of the energy state (1), optimized sample
configuration (2), or both (1:2)? Defaults to |
boundary |
Object of class |
... |
Other options passed to |
1 2 3 4 5 6 7 8 9 10 11 | require(sp)
data(meuse.grid)
candi <- meuse.grid[, 1:2]
covars <- meuse.grid[, 5]
schedule <- scheduleSPSANN(initial.temperature = 5, chains = 1,
x.max = 1540, y.max = 2060, x.min = 0,
y.min = 0, cellsize = 40)
set.seed(2001)
res <- optimCORR(points = 10, candi = candi, covars = covars,
use.coords = TRUE, schedule = schedule)
plot(res)
|
---------------------------------------------------------------
Optimization of Sample Configurations using Spatial Simulated
Annealing
spsann version 2.2.0
(built on 2019-04-28) is now loaded
---------------------------------------------------------------
Loading required package: sp
|
| | 0%
|
|======== | 11%
|
|================ | 22%
|
|======================= | 33%
|
|=============================== | 44%
|
|======================================= | 56%
|
|=============================================== | 67%
|
|====================================================== | 78%
|
|============================================================== | 89%
|
|======================================================================| 100%
100% of acceptance in the 1st chain
running time = 0.02 seconds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.