Thanks Gabor, that worked great!
Gabor Grothendieck wrote:
>
> On Thu, Mar 10, 2011 at 11:27 AM, mathijsdevaan
> wrote:
>> Hi,
>>
>> I have a data.frame of the following type:
>>
>> F = data.frame(read.table(textConnection(" A B
>> 1 1 4
>> 2 1 3
>> 3 1 1
>> 4 1
On Thu, Mar 10, 2011 at 11:27 AM, mathijsdevaan wrote:
> Hi,
>
> I have a data.frame of the following type:
>
> F = data.frame(read.table(textConnection(" A B
> 1 1 4
> 2 1 3
> 3 1 1
> 4 1 4
> 5 1 2
> 6 1 2
> 7 1 2
> 8 2 1
> 9 2 1
> 10 2 1
> 11 2 1
> 12 3 2
> 13 3 4
> 14 3 1
> 15
Hi,
I have a data.frame of the following type:
F = data.frame(read.table(textConnection("A B
1 1 4
2 1 3
3 1 1
4 1 4
5 1 2
6 1 2
7 1 2
8 2 1
9 2 1
10 2 1
11 2 1
12 3 2
13 3 4
14 3 1
15 3 1
16 3 1"),head=TRUE,stringsAsFactors=FALSE))
F
A B
1 1 4
2 1 3
3 1 1
3 matches
Mail list logo