write.capthist {secr} | R Documentation

## Write Data to Text File

### Description

Export detections or detector layout to a text file in form suitable for DENSITY

### Usage

    write.capthist(object, file = "", ..., deblank = TRUE, header = TRUE,
        sess = '1', ndec = 2)

    write.traps(object, file = "", ..., deblank = TRUE,  header = TRUE,
        ndec = 2)

### Arguments

`object` | `capthist` or `traps` object
`file` | name of output file (character string)
`...` | other arguments passed to `write.table`
`deblank` | remove blanks from character string used to identify detectors?
`header` | output descriptive header?
`sess` | session identifier
`ndec` | number of digits after decimal point for x,y coordinates

### Details

Existing file will be replaced without warning.

### Author(s)

Murray Efford murray.efford@otago.ac.nz

### Examples

      data (captdata)
      write.capthist (captdata)

[Package secr version 1.3.0 Index]