Skip to content
Back to formatted view

Raw Message

Message-ID: <1314734416046-3779622.post@n4.nabble.com>
Date: 2011-08-30T20:00:16Z
From: amalka
Subject: help with "by" command
In-Reply-To: <CABqBGVd9WF=WRq8MBsQ9ykP6GUJT-eroh_BRthzU9vB38MAR0w@mail.gmail.com>

Thanks very much for the help.

I ended up getting it to work with one small change:

by(foo, foo$V2, function(foo) mean(foo$trust, na.rm=T)) 

thanks again,
Ari

--
View this message in context: http://r.789695.n4.nabble.com/help-with-by-command-tp3766285p3779622.html
Sent from the R help mailing list archive at Nabble.com.