# NOT RUN {
# creating a default grid
# default parameters are: 5x5 dimension, squared topology
# and letremy distance type
initGrid()
# creating a 5x7 squared grid
initGrid(dimension=c(5, 7), topo="square", dist.type="maximum")
# }
Run the code above in your browser using DataLab