# NOT RUN {
#Example to create a random landscape graph with 60 patches with a mean area
#of 0.05 hectares.
#The landscape mosaic is a square with 1000 meters side.
#The species mean dispersal ability is 120 meters (in order to connect the patches).
#A plot with the landscape graph is displayed graphically.
rl1 <- rland.graph(mapsize=1000, dist_m=80, areaM=0.05, areaSD=0.02, Npatch=60,
disp=120, plotG=TRUE)
# }
Run the code above in your browser using DataLab