Skip to content
Prev 246881 / 398506 Next

Aggragating subsets of data in larger vector with sapply

split the data by truncating the time to a second, then process each group. this will save the subsetting you are doing. also merge the data with direction and size in the same frame.  it looks like you can subset by "buy" to begin with.

Sent from my iPad
On Jan 9, 2011, at 19:10, rivercode <aquanyc at gmail.com> wrote: