Description Usage Arguments Value Author(s) Examples
Expand and refine parameter grid for simulation
1 | add_neighbours(scenarios, parameter, radius, points, drop = T)
|
scenarios |
matrix with one parameter setting in each line |
parameter |
list of parameters for which grid points should be added |
radius |
width of interval to be added around each point in |
points |
number of points to fill the interval with |
drop |
should columns that start with |
object with the same columns as G
Florian Klinglmueller
1 2 | scenarios <- expand.grid(m=c(0,1),s=c(1,2),n=5:10)
neighbourhoods <- add_neighbours(scenarios,c('m','s'),c(.2,.4),4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.