Learn R Programming

secr (version 1.3.0)

write.capthist: 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.

Examples

Run this code
data (captdata)
  write.capthist (captdata)

Run the code above in your browser using DataLab