addpoints | R Documentation |
Adds a given number of patches to the landscape.
addpoints(rl, nr)
rl |
Object of class 'landscape'. |
nr |
Number of patches to be added (see 'note'). |
Returns an object of class 'landscape'.
The number of patches to be added might be impaired by the minimum distance between points.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.