[R] Aggregate counts of observations with times surrounding a time?

2017-05-15 Thread Mark Noworolski
I have a data frame that has a set of observed dwell times at a set of locations. The metadata for the locations includes things that have varying degrees of specificity. I'm interested in tracking the number of people present at a given time in a given store, type of store, or zip code. Here's an

[R] Percentages and lattice

2010-09-27 Thread Mark Noworolski
What I'm trying to do is to figure out how to create lattice charts of %right by region, or alternatively, by date from a dataset of observations that looks something like this: date,location,region,correct 2010-09-10,a,r1,yes 2010-09-10,a,r1,yes 2010-09-10,a,r1,no 2010-09-11,a,r1,yes 2010-09-01,b