Thanks a ton guys for your help! Saved me a boat load of time and helped me
develop a much better method of doing these things than I had in the past.
The method I ended up using was to cut up my counts and aggregating my data
as suggested by Petr.
Thanks!
Chris
On Fri, Mar 26, 2010 at 12:05 PM,
Sharpie wrote:
>
> testData$bin <- cut( testData$count, binBreaks, include.lowest = TRUE )
>
I also made a slight mistake, you will want to replace inclde.lowest = TRUE
with right = FALSE to the call to cut() to preserve the
greater-than-or-equal boundary at the lower end of each bin.
Sorry
Christoffer Karlsson wrote:
>
> Hi,
>
> I have a column in a data frame looking something like:
>
> $sex $language $count
> male english 0
> male english 0
> female english 32
> male spanish 154
> female english 11
> female norweigan 7
>
> and so on.
> What I want to do is to order
On 03/26/2010 08:41 PM, Christoffer Karlsson wrote:
Hi,
I have a column in a data frame looking something like:
$sex $language $count
male english 0
male english 0
female english 32
male spanish 154
female english 11
female norweigan 7
and so on.
What I want to do is to order these
4 matches
Mail list logo