cowAnalyze {Animal} | R Documentation |
This function provides descriptive statistics from time coded behavior datafiles recorded with CowLog.
cowAnalyze(file = NULL, states = NULL, events = NULL, state.names = NULL, event.names = NULL)
file |
CowLog data file, or a file in same format |
states |
A vector with the codes in the file that belong to states |
events |
A vector with codes in the file that belong to events |
state.names |
A character vector with the names for the states |
event.names |
A character vector with the names for the events |
state |
Results for states |
event |
Results for events |
Matti Pastell <matti.pastell@helsinki.fi>
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
##Analyze CowLog datafile named calf1.bh1, ## codes 1-3 are states and codes 4-5 are states. ## The names for the states are lying, standing, walking. ## Not run: analyzed <-cowAnalyze(file='calf1.bh1',states=c(1,2,3), events=c(4,5),state.names=c('lying','standing','walking')) ## End(Not run)