Skip to content
Prev 273246 / 398503 Next

new standardised variable based on group membership

I like that one too Baptiste, thanks

-----Original Message-----
From: baptiste auguie [mailto:baptiste.auguie at googlemail.com] 
Sent: Tuesday, 4 October 2011 9:56 AM
To: Morrongiello, John (CMAR, Hobart)
Cc: Thierry.ONKELINX at inbo.be; r-help at r-project.org
Subject: Re: [R] new standardised variable based on group membership

More concisely,

ddply(Orange, .(Tree), transform, scaled = scale(age))

HTH,

baptiste
On 4 October 2011 11:24, <John.Morrongiello at csiro.au> wrote: