On Fri, Dec 24, 2010 at 3:11 PM, Paul Miller <pjmiller_57@yahoo.com> wrote:

> Hi Gabor,
>
> Thanks very much for your reply. I was hoping to ask a follow-up question.
> Can you explain why it's better to use transform than to use within? The
> main difference between the two functions seems to be that within allows one
> to use variables created in a step (e.g., A and B) to create other variables
> within the same step (e.g., C = A + B).
>
>

Yes, that is an advantage but here we are not making use of that feature so
it only serves to make it harder to understand.  By using transform we
immediately know that each of the assignments is independent of the others
reducing the mental load in understanding how it works.   In a within, to
understand any one assignment you would have to check all the previous ones
too.

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

	[[alternative HTML version deleted]]

