Learn R Programming

IRATER (version 0.0.1)

read.dat: loads existing IRATE-model setup (incl. tag release & recapture data)

Description

loads an existing IRATE-model setup (incl. tag release and recapture data) as a list

Usage

read.dat(setup.file.name,skip=0)

Arguments

setup.file.name
character string defining the name of the existing IRATE-model input file (.dat) to be loaded.
skip
Number of lines to skip in setup file (default = 0).

See Also

IRATE.examples, make.dat, remake.dat

Examples

Run this code
### read a preinstalled IRATE setup example:
examples.folder <- system.file("IRATE.examples", package = "IRATER")
setwd(examples.folder)                       
fnames <- Sys.glob('*.dat')
read.dat(fnames[1])

Run the code above in your browser using DataLab