View source: R/datalow_utils.r
checkdata | R Documentation |
checkdata ensures the input fishery data contains the data necessary for each of the analyses present and reports which analyses are possible. It checks for simple errors
checkdata(indata, glob = NA)
indata |
this can be either the complete list of data objects of just the matrix of fisheries data. |
glob |
in case one inputs a data.frame of fishery data this allows one to enter the globals list containing as a minimum the spsname and resilience, so that a test can be made for the spm analysis |
a 3 x 2 matrix with vaiable and true or false for presence
## Not run:
data(fishdat)
fish <- fishdat$fish
checkdata(fishdat)
checkdata(fish)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.