[R] need some help
bartjoosen
bartjoosen at hotmail.com
Mon Nov 3 14:12:21 CET 2008
see ?merge
Kurapati,
Ravichandra (Ravichandra) wrote:
>
> Hi ,
>
>
>
>> df
>
> Session_Setup DCT FwdDataVols_bin counts Comp
>
> 1 User_Initiated NoRLL 1 5058 User_Initiated+NoRLL+1
>
> 2 User_Initiated NoRLL 2 584 User_Initiated+NoRLL+2
>
> 3 User_Initiated NoRLL 3 191 User_Initiated+NoRLL+3
>
> 4 User_Initiated NoRLL 4 128 User_Initiated+NoRLL+4
>
> 5 User_Initiated NoRLL 5 90 User_Initiated+NoRLL+5
>
> 6 User_Initiated NoRLL 6 43 User_Initiated+NoRLL+6
>
> 7 User_Initiated NoRLL 7 45 User_Initiated+NoRLL+7
>
> 8 User_Initiated NoRLL 8 35 User_Initiated+NoRLL+8
>
> 9 User_Initiated NoRLL 9 45 User_Initiated+NoRLL+9
>
> 10 User_Initiated NoRLL 10 20 User_Initiated+NoRLL+10
>
> 11 User_Initiated NoRLL 12 20 User_Initiated+NoRLL+12
>
> 12 User_Initiated NoRLL 13 15 User_Initiated+NoRLL+13
>
> 13 User_Initiated NoRLL 14 25 User_Initiated+NoRLL+14
>
> 14 User_Initiated NoRLL 15 5 User_Initiated+NoRLL+15
>
> 15 User_Initiated NoRLL 17 5 User_Initiated+NoRLL+17
>
> 16 User_Initiated NoRLL 18 10 User_Initiated+NoRLL+18
>
> 17 User_Initiated NoRLL 19 10 User_Initiated+NoRLL+19
>
> 18 User_Initiated NoRLL 21 5 User_Initiated+NoRLL+21
>
> 19 User_Initiated NoRLL 22 30 User_Initiated+NoRLL+22
>
> 20 User_Initiated NoRLL 23 10 User_Initiated+NoRLL+23
>
> 21 User_Initiated NoRLL 24 15 User_Initiated+NoRLL+24
>
> 22 User_Initiated NoRLL 25 5 User_Initiated+NoRLL+25
>
> 23 User_Initiated NoRLL 27 5 User_Initiated+NoRLL+27
>
> 24 User_Initiated NoRLL 28 10 User_Initiated+NoRLL+28
>
> 25 User_Initiated NoRLL 29 10 User_Initiated+NoRLL+29
>
> 26 User_Initiated NoRLL 30 5 User_Initiated+NoRLL+30
>
> 27 User_Initiated RLL 1 50 User_Initiated+RLL+1
>
> 28 User_Initiated RLL 2 10 User_Initiated+RLL+2
>
> 29 User_Initiated RLL 3 5 User_Initiated+RLL+3
>
> 30 User_Initiated RLL 8 5 User_Initiated+RLL+8
>
> 31 User_Initiated RLL 23 5 User_Initiated+RLL+23
>
> 32 Session_Setup NoRLL 1 749 Session_Setup+NoRLL+1
>
>
>
>
>
>
>
>
>
> Df contains
>
> Session_Setup DCT FwdDataVols_bin counts Comp
>
> 1 Session_Setup RLL 1 0 Session_Setup+RLL+1
>
> 2 Session_Setup RLL 2 0 Session_Setup+RLL+2
>
> 3 Session_Setup RLL 3 0 Session_Setup+RLL+3
>
> 4 Session_Setup RLL 4 0 Session_Setup+RLL+4
>
> 5 Session_Setup RLL 5 0 Session_Setup+RLL+5
>
> 6 Session_Setup RLL 6 0 Session_Setup+RLL+6
>
> 7 Session_Setup RLL 7 0 Session_Setup+RLL+7
>
> 8 Session_Setup RLL 8 0 Session_Setup+RLL+8
>
> 9 Session_Setup RLL 9 0 Session_Setup+RLL+9
>
> 10 Session_Setup RLL 10 0 Session_Setup+RLL+10
>
> 11 Session_Setup RLL 11 0 Session_Setup+RLL+11
>
> 12 Session_Setup RLL 12 0 Session_Setup+RLL+12
>
> 13 Session_Setup RLL 13 0 Session_Setup+RLL+13
>
> 14 Session_Setup RLL 14 0 Session_Setup+RLL+14
>
> 15 Session_Setup RLL 15 0 Session_Setup+RLL+15
>
> 16 Session_Setup RLL 16 0 Session_Setup+RLL+16
>
> 17 Session_Setup RLL 17 0 Session_Setup+RLL+17
>
> 18 Session_Setup RLL 18 0 Session_Setup+RLL+18
>
> 19 Session_Setup RLL 19 0 Session_Setup+RLL+19
>
> 20 Session_Setup RLL 20 0 Session_Setup+RLL+20
>
> 21 Session_Setup RLL 21 0 Session_Setup+RLL+21
>
> 22 Session_Setup RLL 22 0 Session_Setup+RLL+22
>
> 23 Session_Setup RLL 23 0 Session_Setup+RLL+23
>
> 24 Session_Setup RLL 24 0 Session_Setup+RLL+24
>
> 25 Session_Setup RLL 25 0 Session_Setup+RLL+25
>
> 26 Session_Setup RLL 26 0 Session_Setup+RLL+26
>
> 27 Session_Setup RLL 27 0 Session_Setup+RLL+27
>
> 28 Session_Setup RLL 28 0 Session_Setup+RLL+28
>
> 29 Session_Setup RLL 29 0 Session_Setup+RLL+29
>
> 30 Session_Setup RLL 30 0 Session_Setup+RLL+30
>
> 31 User_Initiated RLL 1 0 User_Initiated+RLL+1
>
> 32 User_Initiated RLL 2 0 User_Initiated+RLL+2
>
> 33 User_Initiated RLL 3 0 User_Initiated+RLL+3
>
> 34 User_Initiated RLL 4 0 User_Initiated+RLL+4
>
> 35 User_Initiated RLL 5 0 User_Initiated+RLL+5
>
> 36 User_Initiated RLL 6 0 User_Initiated+RLL+6
>
> 37 User_Initiated RLL 7 0 User_Initiated+RLL+7
>
> 38 User_Initiated RLL 8 0 User_Initiated+RLL+8
>
> 39 User_Initiated RLL 9 0 User_Initiated+RLL+9
>
> 40 User_Initiated RLL 10 0 User_Initiated+RLL+10
>
> 41 User_Initiated RLL 11 0 User_Initiated+RLL+11
>
> 42 User_Initiated RLL 12 0 User_Initiated+RLL+12
>
> 43 User_Initiated RLL 13 0 User_Initiated+RLL+13
>
> 44 User_Initiated RLL 14 0 User_Initiated+RLL+14
>
> 45 User_Initiated RLL 15 0 User_Initiated+RLL+15
>
> 46 User_Initiated RLL 16 0 User_Initiated+RLL+16
>
> 47 User_Initiated RLL 17 0 User_Initiated+RLL+17
>
> 48 User_Initiated RLL 18 0 User_Initiated+RLL+18
>
> 49 User_Initiated RLL 19 0 User_Initiated+RLL+19
>
> 50 User_Initiated RLL 20 0 User_Initiated+RLL+20
>
> 51 User_Initiated RLL 21 0 User_Initiated+RLL+21
>
> 52 User_Initiated RLL 22 0 User_Initiated+RLL+22
>
> 53 User_Initiated RLL 23 0 User_Initiated+RLL+23
>
> 54 User_Initiated RLL 24 0 User_Initiated+RLL+24
>
> 55 User_Initiated RLL 25 0 User_Initiated+RLL+25
>
> 56 User_Initiated RLL 26 0 User_Initiated+RLL+26
>
> 57 User_Initiated RLL 27 0 User_Initiated+RLL+27
>
> 58 User_Initiated RLL 28 0 User_Initiated+RLL+28
>
> 59 User_Initiated RLL 29 0 User_Initiated+RLL+29
>
> 60 User_Initiated RLL 30 0 User_Initiated+RLL+30
>
> 61 Session_Setup NORLL 1 0 Session_Setup+NORLL+1
>
> 62 Session_Setup NORLL 2 0 Session_Setup+NORLL+2
>
> 63 Session_Setup NORLL 3 0 Session_Setup+NORLL+3
>
> 64 Session_Setup NORLL 4 0 Session_Setup+NORLL+4
>
> 65 Session_Setup NORLL 5 0 Session_Setup+NORLL+5
>
> 66 Session_Setup NORLL 6 0 Session_Setup+NORLL+6
>
> 67 Session_Setup NORLL 7 0 Session_Setup+NORLL+7
>
> 68 Session_Setup NORLL 8 0 Session_Setup+NORLL+8
>
> 69 Session_Setup NORLL 9 0 Session_Setup+NORLL+9
>
> 70 Session_Setup NORLL 10 0 Session_Setup+NORLL+10
>
> 71 Session_Setup NORLL 11 0 Session_Setup+NORLL+11
>
> 72 Session_Setup NORLL 12 0 Session_Setup+NORLL+12
>
> 73 Session_Setup NORLL 13 0 Session_Setup+NORLL+13
>
> 74 Session_Setup NORLL 14 0 Session_Setup+NORLL+14
>
> 75 Session_Setup NORLL 15 0 Session_Setup+NORLL+15
>
> 76 Session_Setup NORLL 16 0 Session_Setup+NORLL+16
>
> 77 Session_Setup NORLL 17 0 Session_Setup+NORLL+17
>
> 78 Session_Setup NORLL 18 0 Session_Setup+NORLL+18
>
> 79 Session_Setup NORLL 19 0 Session_Setup+NORLL+19
>
> 80 Session_Setup NORLL 20 0 Session_Setup+NORLL+20
>
> 81 Session_Setup NORLL 21 0 Session_Setup+NORLL+21
>
> 82 Session_Setup NORLL 22 0 Session_Setup+NORLL+22
>
> 83 Session_Setup NORLL 23 0 Session_Setup+NORLL+23
>
> 84 Session_Setup NORLL 24 0 Session_Setup+NORLL+24
>
> 85 Session_Setup NORLL 25 0 Session_Setup+NORLL+25
>
> 86 Session_Setup NORLL 26 0 Session_Setup+NORLL+26
>
> 87 Session_Setup NORLL 27 0 Session_Setup+NORLL+27
>
> 88 Session_Setup NORLL 28 0 Session_Setup+NORLL+28
>
> 89 Session_Setup NORLL 29 0 Session_Setup+NORLL+29
>
> 90 Session_Setup NORLL 30 0 Session_Setup+NORLL+30
>
> 91 User_Initiated NORLL 1 0 User_Initiated+NORLL+1
>
> 92 User_Initiated NORLL 2 0 User_Initiated+NORLL+2
>
> 93 User_Initiated NORLL 3 0 User_Initiated+NORLL+3
>
> 94 User_Initiated NORLL 4 0 User_Initiated+NORLL+4
>
> 95 User_Initiated NORLL 5 0 User_Initiated+NORLL+5
>
> 96 User_Initiated NORLL 6 0 User_Initiated+NORLL+6
>
> 97 User_Initiated NORLL 7 0 User_Initiated+NORLL+7
>
> 98 User_Initiated NORLL 8 0 User_Initiated+NORLL+8
>
> 99 User_Initiated NORLL 9 0 User_Initiated+NORLL+9
>
> 100 User_Initiated NORLL 10 0 User_Initiated+NORLL+10
>
> 101 User_Initiated NORLL 11 0 User_Initiated+NORLL+11
>
> 102 User_Initiated NORLL 12 0 User_Initiated+NORLL+12
>
> 103 User_Initiated NORLL 13 0 User_Initiated+NORLL+13
>
> 104 User_Initiated NORLL 14 0 User_Initiated+NORLL+14
>
> 105 User_Initiated NORLL 15 0 User_Initiated+NORLL+15
>
> 106 User_Initiated NORLL 16 0 User_Initiated+NORLL+16
>
> 107 User_Initiated NORLL 17 0 User_Initiated+NORLL+17
>
> 108 User_Initiated NORLL 18 0 User_Initiated+NORLL+18
>
> 109 User_Initiated NORLL 19 0 User_Initiated+NORLL+19
>
> 110 User_Initiated NORLL 20 0 User_Initiated+NORLL+20
>
> 111 User_Initiated NORLL 21 0 User_Initiated+NORLL+21
>
> 112 User_Initiated NORLL 22 0 User_Initiated+NORLL+22
>
> 113 User_Initiated NORLL 23 0 User_Initiated+NORLL+23
>
> 114 User_Initiated NORLL 24 0 User_Initiated+NORLL+24
>
> 115 User_Initiated NORLL 25 0 User_Initiated+NORLL+25
>
> 116 User_Initiated NORLL 26 0 User_Initiated+NORLL+26
>
> 117 User_Initiated NORLL 27 0 User_Initiated+NORLL+27
>
> 118 User_Initiated NORLL 28 0 User_Initiated+NORLL+28
>
> 119 User_Initiated NORLL 29 0 User_Initiated+NORLL+29
>
> 120 User_Initiated NORLL 30 0 User_Initiated+NORLL+30
>
>
>
>
>
>
>
> How can I assign df$counts values to dd$counts for the corresponding
> dd$comp==df$comp
>
>
>
>
>
>
>
> Thanks
>
> K.Ravichandra
>
>
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
--
View this message in context: http://www.nabble.com/need-some-help-tp20301365p20302511.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list