cyphid-package {cyphid} | R Documentation |
The primary function in this library automates the process of dividing chewing sequences into cycles and cycles into phases.
Package: | cyphid |
Type: | Package |
Version: | 1.1 |
Date: | 2013-04-04 |
License: | GPL-2 |
LazyLoad: | yes |
The primary function in this package is get.all.breaks (See example below).
Maintainer: Elizabeth Crane <bcrane@umich.edu>
# Run primary function for dividing sequences into cycles and cycles into phases
JawBreaks40 <- get.all.breaks(jaw, window=40)
# Check window based on cycle durations.
cycledurs <- get.cycle.durations(JawBreaks40$cyclemat)
win <- get.window(cycledurs)
win
# Rerun with modified window
JawBreaks27 <- get.all.breaks(jaw, window=27)
# Plot the output
plot(jaw[,1])
abline(v=JawBreaks27$openbreaks[,1])