Taking Rick's suggestion to use familiar formula syntax in the ddply() example.

There are more ddply() examples that follow that I have not yet converted …..