read.captures {secr} | R Documentation

## Read Capture Data From File

### Description

Input raw detection (capture) data for spatially explicit capture–recapture.

### Usage

    read.captures(file, ...)

### Arguments

`file` | character string with name of text file
`...` | other arguments to be passed to `read.table`

### Details

This brief function merely calls `read.table` and is therefore technically redundant. It accepts whatever data are in `file`. The result is used as input to `make.capthist`.

### Value

A dataframe.

### Author(s)

Murray Efford murray.efford@otago.ac.nz

### See Also

`make.capthist`

### Examples

    ## Not run:
       ## assumes 'capt.txt' in working folder
       temp <- read.captures(file = 'capt.txt', col.names =
                   c('Session','ID','Occasion', 'X', 'Y'))
    ## End(Not run)

[Package secr version 1.2.11 Index]