Report question

Question: How do I sub sample data by group using ddply?