Description Usage Arguments Author(s) Examples
Plot the Historical Spatial Closures
1 |
OM |
An object of class OM |
sim |
Optional. Simulation number to plot |
A. Hordyk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
OM <- new("OM", Albacore, Generic_Fleet, Perfect_Info, Perfect_Imp)
## 50% of Area 1 was closed 30 years ago
cl1 <- c(OM@nyears-30, 0.5, 1)
## 80% of Area 1 was closed 15 years ago
cl2 <- c(OM@nyears-15, 0.2, 1)
## 100% of Area 1 was closed last year
cl3 <- c(OM@nyears-1, 0, 1)
OM@MPA <- matrix(c(cl1, cl2, cl3), ncol=3, byrow=TRUE)
plotMPA(OM)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.