read.avida: Read a file in Avida's output format

Description Usage Arguments Value See Also Examples

Description

read.avida reads the given file in Avida's output format and returns a data table. Column names are assigned from comments within the data file unless the extract.colnames parameter is set to FALSE. Invalid column names will be replaced according to make.names.

Usage

1
read.avida(file, extract.colnames = TRUE)

Arguments

file

the name of the file which the data are to be read from

extract.colnames

Boolean indicating whether or not column names should be extracted from the comments in the data file (TRUE) or not (FALSE) (default: TRUE).

Value

A data frame (data.frame) containing a representation of the data in the file

See Also

read.table

Examples

1
data <- read.avida('resource.dat')

briandconnelly/avidaR documentation built on May 13, 2019, 5:13 a.m.