Histogram of log-transformed frequencies
boutfreqs(x, bw, method = c("standard", "seq.diff"), plot = TRUE, ...)
boutfreqs
returns an object of class Bouts
, with slot
lnfreq
consisting of a data frame with components lnfreq
containing the log frequencies and x, containing the
corresponding mid points of the histogram. Empty bins are excluded. A
plot (histogram of input data) is produced as a side effect if
argument plot is TRUE
. See the Details section.
numeric vector on which bouts will be identified based on
“method”. For labelBouts
it can also be a matrix with
different variables for which bouts should be identified.
numeric scalar: bin width for the histogram.
character: method used for calculating the frequencies: “standard” simply uses x, while “seq.diff” uses the sequential differences method.
logical, whether to plot results or not.
For boutfreqs
, arguments passed to hist (must exclude
breaks
and include.lowest
)
Sebastian P. Luque spluque@gmail.com