removepoints | R Documentation |
Randomly removes a given number of patches from the landscape.
removepoints(rl, nr)
rl |
Object of class 'landscape'. |
nr |
Number of patches to remove. |
Returns an object of class 'landscape'.
Frederico Mestre and Fernando Canovas
rland.graph
, addpoints
data(rland) #Checking the number of patches in the starting landscape: rland$number.patches #60 #Removing 10 patches from the landscape: rl1 <- removepoints(rl=rland, nr=10) #Checking the number of patches in the output landscape: rl1$number.patches #50
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.