Does anyone know the solution`?

Thanks,
Tammy

> From: metal_lical...@live.com
> To: r-help@r-project.org
> Date: Tue, 17 Mar 2009 11:49:10 +0200
> Subject: [R] Merging
> 
> 
> Hi, All.
> 
> 
> I have a data frame with the part as :
> 
> .....
> 142    2006-02-22 16:28:18  useractivity_act       8         0
> 143    2006-02-22 16:28:26                 4            2         0
> 144    2006-02-22 16:28:28                 3            3         0
> 145    2006-02-22 16:28:31                 4            4         1
> 146    2006-02-22 16:28:35                 3          159        0
> 147    2006-02-22 16:31:14 useractivity_idle        0         0
> 1421   2006-02-22 16:28:18  useractivity_act      8         0
> 1431   2006-02-22 16:28:26                 4            2         0
> 1441   2006-02-22 16:28:28                 3            3         0
> 1451   2006-02-22 16:28:31                 4            4         0
> 1461   2006-02-22 16:28:35                 3          159        25
> 1471   2006-02-22 16:31:14 useractivity_idle        0         0
> ....
> 
> I want to merge the above as 
> 142    2006-02-22 16:28:18  useractivity_act       8         0
> 
> 143    2006-02-22 16:28:26                 4            2         0
> 
> 144    2006-02-22 16:28:28                 3            3         0
> 
> 145    2006-02-22 16:28:31                 4            4         1
> 
> 146    2006-02-22 16:28:35                 3          159       25
> 
> 147    2006-02-22 16:31:14 useractivity_idle        0         0
> 
> How should I do`??
> Thanks.
> 
> Tammy
> _________________________________________________________________
> Invite your mail contacts to join your friends list with Windows Live Spaces. 
> It's easy!
> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
>       [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help@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.

_________________________________________________________________
More than messagesĀ–check out the rest of the Windows LiveĀ™.
http://www.microsoft.com/windows/windowslive/
        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to