freqprof: Convert data to moving sum/prop.
Description
Convert data to moving sum/prop.
Usage
freqprof(data.behavior, window = round(0.25 * nrow(data.behavior)), step = 1, resolution = 1, which = c("sum", "proportion"))
Arguments
data.behavior
a data.frame containing occurrence/nonoccurrence data in
binary (0/1) format
window
the window length to use in computing a moving sum or
proportion
step
the number of bins of which the data will be translated.
resolution
the number of points contained in a bin
which
giving the moving function to apply: sum or proportion
Value
The data in a freqprof
object.