Read CowLog datafiles

Share:

Description

Read in CowLog datafiles. The user can specify the start time of the observation in order to convert observation time to a date format (POSIXct)

Usage

1

Arguments

file

A CowLog data file

start.time

The start time of the observation in "%Y-%m-%d %H:%M:%S" format. (see strptime).

delete.duplicates

Delete duplicate (double state errors) observations, T or F

Value

A data frame with the elements:

time

Time stamp for the code

behavior

Behavior for the corresponding time

Author(s)

Matti Pastell <matti.pastell@helsinki.fi>

References

Hanninen, L. & Pastell, M. CowLog: Open source software for coding behaviors from digital video. Behavior Research Methods. 41(2), 472-476.

http://www.mm.helsinki.fi/~mpastell/CowLog

See Also

cowAnalyze, label.data