secr.fit
# S3 method for default
verify(object, report, ...)
# S3 method for traps
verify(object, report = 2, ...)
# S3 method for capthist
verify(object, report = 2, tol = 0.01, ...)
# S3 method for mask
verify(object, report = 2, ...)
A list with the component errors
, a logical value indicating
whether any errors were found. If object
contains multi-session
data then session-specific results are contained in a further list
component bysession
.
Full reporting is the same as `errors only' except that a message is posted when no errors are found.
Checks are performed specific to the class of `object'. The default method is called when no specific method is available (i.e. class not `traps', `capthist' or `mask'), and does not perform any checks.
verify.capthist
verify.traps
verify.mask
Earlier errors may mask later errors: fix & re-run.
verify(captdata)
## create null (complete) usage matrix, and mess it up
temptraps <- make.grid()
usage(temptraps) <- matrix(1, nr = nrow(temptraps), nc = 5)
usage(temptraps)[,5] <- 0
verify (temptraps)
## create mask, and mess it up
tempmask <- make.mask(temptraps)
verify(tempmask)
tempmask[1,1] <- NA
verify(tempmask)
Run the code above in your browser using DataLab