Learn R Programming

BaSTA (version 2.0.0)

summary.bastaCheckCMR: Summary of outputs from the data checking function in BaSTA.

Description

These function provide general information about the input data set to be used for BaSTA, as well as detailes on potential issues that could have been found on the data.

Usage

# S3 method for bastaCheckCMR
summary(object, ...)

# S3 method for bastaCheckCens summary(object, ...)

# S3 method for bastaCheckCMR print(x, ...)

# S3 method for bastaCheckCens print(x, ...)

Value

No return value, prints output to the console

Arguments

object

Output from function DataCheck

x

Output from function DataCheck

...

Additional arguments passed to functions print and summary (see details).

Author

Fernando Colchero fernando_colchero@eva.mpg.de

Details

Both functions print to the screen the results of the DataCheck function.

See Also

DataCheck for running a data check on the input data for function basta, FixCMRdata to fix potential issues for capture-mark-recapture data.

Examples

Run this code
## CMR data:
## --------- #
## Load data:
data("bastaCMRdat", package = "BaSTA")

## Check data consistency:
checkedData  <- DataCheck(bastaCMRdat, dataType = "CMR", studyStart = 51, 
                          studyEnd = 70)

## census data:
## ------------ #
## Load data:
data("bastaCensDat", package = "BaSTA")

## Check data consistency:
checkedData  <- DataCheck(object = bastaCensDat, dataType = "census")

## Printed output:
## --------------- #
## Print DataCheck results:
print(checkedData)

Run the code above in your browser using DataLab