Re: [R] question about using _apply and/or aggregate functions

2009-06-22 Thread Clifford Long
David, Once again, many thanks for your very useful and timely feedback, and for your patience with my learning curve. Sincerely, Cliff On Mon, Jun 22, 2009 at 7:11 PM, David Winsemius wrote: > > On Jun 22, 2009, at 7:55 PM, David Winsemius wrote: > >> >> On Jun 22, 2009, at 6:16 PM, Clifford

Re: [R] question about using _apply and/or aggregate functions

2009-06-22 Thread David Winsemius
On Jun 22, 2009, at 7:55 PM, David Winsemius wrote: On Jun 22, 2009, at 6:16 PM, Clifford Long wrote: Hi David, I appreciate the advice. I had coerced 'list4' to as.list, but forgot to specify "list=()" in the call to aggregate. I made the correction, and now get the following: slo

Re: [R] question about using _apply and/or aggregate functions

2009-06-22 Thread David Winsemius
On Jun 22, 2009, at 6:16 PM, Clifford Long wrote: Hi David, I appreciate the advice. I had coerced 'list4' to as.list, but forgot to specify "list=()" in the call to aggregate. I made the correction, and now get the following: slope.mult = simarray[,1] adj.slope.value = simarray[,2] adj.sl

Re: [R] question about using _apply and/or aggregate functions

2009-06-22 Thread Clifford Long
Hi David, I appreciate the advice. I had coerced 'list4' to as.list, but forgot to specify "list=()" in the call to aggregate. I made the correction, and now get the following: > slope.mult = simarray[,1] > adj.slope.value = simarray[,2] > adj.slope.level = simarray[,2] > qc.run.violation = sim

[R] question about using _apply and/or aggregate functions

2009-06-22 Thread Clifford Long
Hi R-list, I'll apologize in advance for (1) the wordiness of my note (not sure how to avoid it) and (2) any deficiencies on my part that lead to my difficulties. I have an application with several stages that is meant to simulate and explore different scenarios with respect to product sales (in

Re: [R] question about using _apply and/or aggregate functions

2009-06-22 Thread David Winsemius
On Jun 22, 2009, at 12:04 PM, Clifford Long wrote: Hi R-list, I'll apologize in advance for (1) the wordiness of my note (not sure how to avoid it) and (2) any deficiencies on my part that lead to my difficulties. I have an application with several stages that is meant to simulate and explore