Run a Management Procedure
runMP(Data, MPs = NA, reps = 100, perc = 0.5, chkMPs = FALSE, silent = FALSE)
A MSEtool Data object
The name of the MP to run (or a vector or names)
Number of repetitions
Percentile to summarize reps (default is median)
Logical. Should the MPs be checked before attempting to run them?
Logical. Should messages by suppressed?
invisibly returns the Data object
Data_TAc <- runMP(MSEtool::Cobia)
#> ✔ Searching for objects of class MP in package: MSEtool
#> ✔ running all available MPs
#> ℹ Attempting to run 5 MPs:
#> ✔ FMSYref
#> ✔ FMSYref50
#> ✔ FMSYref75
#> ✔ NFref
#> ✔ curEref
#> TAC Effort
#> FMSYref
#> FMSYref50
#> FMSYref75
#> NFref 0
#> curEref 1