bin.running.before: Aggregate Wheel Running Data Prior to a Bin

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Aggregate Wheel Running Data Prior to a Bin

Usage

1
bin.running.before(bin.size, bins.out, bin.start, reverse = FALSE, ...)

Arguments

bin.size

Size of bin (minutes)

bins.out

Number of bins to return

bin.start

Bin (interval) to start

reverse

Should the resulting dat be reversed before being returned? Reversed data will go from most recent to oldest.

...

Additional parameters passed to bin.running()

Details

Aggregate wheel running data prior to a specfic bin (i.e., computer interval number).

Value

An object of class running. See bin.running for additional details.

Author(s)

Kevin Middleton (middletonk@missouri.edu)

See Also

bin.running

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Load the 2006-11-05 running data for computer A
data(A061105)

# Aggregate running data into 10 * 10 minute bins starting
# at interval 600
A <- bin.running.before(whldat = A061105, computer = "A",
                        bin.start = 600,
                        bin.size = 10, bins.out = 10)
A$times
A$run
# Plot aggregated running data for wheel number 1.
plot(A, whlnum = 1, whichplot = "run")

kmiddleton/binning documentation built on May 20, 2019, 12:51 p.m.