Can: Identify management procedures (MPs) based on data availability
Description
Diagnostic tools that look up the slot requirements of each MP and
compares to the data available in the Data object.
Usage
Can(Data, timelimit = 1, MPs = NA, dev = FALSE)Cant(Data, timelimit = 1)
Needed(Data, timelimit = 1)
Arguments
Data
A data-limited methods data object (class Data)
timelimit
The maximum time (seconds) taken for an MP to undertake
5 reps (this filters out methods that are too slow)
MPs
Optional list of MP names
dev
Logical. Run in development mode?
Functions
Can
: Identifies MPs that have the correct data, do not produce errors,
and run within the time limit.
Cant
: Identifies MPs that don't have sufficient data, lead to errors, or don't run in
time along with a list of their data requirements.
Needed
: Identifies what data are needed to run
the MPs that are currently not able to run given a Data
object
Examples
Run this code# NOT RUN {
CanMPs <- Can(DLMtool::Cobia)
CantMPs <- Cant(DLMtool::Cobia)
Needs <- Needed(DLMtool::Cobia)
# }
Run the code above in your browser using DataLab