Some R Stuff with => temporary attach table and xtabs => summarize data attach => ex. customer_payments$amount_cents ... same as ... attach(customer_payments) amount_cents # works!