
Adds a given number of patches to the landscape.
addpoints(rl, nr)
Returns an object of class 'landscape'.
Object of class 'landscape'.
Number of patches to be added (see 'note').
Frederico Mestre and Fernando Canovas
rland.graph
, removepoints
data(rland)
#Checking the number of patches in the starting landscape:
rland$number.patches
#60
#Adding 10 patches to a landscape:
rl1 <- addpoints(rl=rland, nr=10)
#Checking the number of patches in the output landscape:
rl1$number.patches
#70
Run the code above in your browser using DataLab