Re: [R] to match samples by minute

2013-08-16 Thread Weiwu Zhang
2013/8/16 PIKAL Petr : > It depends what unixtime is. At least str(df) can help. Thanks. Indeed following you suggestion I found it easier to use than summary() for debugging. Now I can properly handle POSIXct thanks to the help I got from this list a few weeks ago:) > I am not sure if it is the

Re: [R] to match samples by minute

2013-08-16 Thread Weiwu Zhang
2013/8/16 PIKAL Petr : > You will get only general answer without some example data. Se Posting Guide. Thanks. Yes I do expect general answer, because I feel this problem of "unmatched samples" is ubiquitious, only that I don't have a good Google keyword to dig myself. > df.m <- merge(df1, df2, b

Re: [R] to match samples by minute

2013-08-16 Thread PIKAL Petr
Hi You will get only general answer without some example data. Se Posting Guide. If I understand correctly you need to reshape your df to have a structure unixtime, valuefactor1, valuefactor2 and after that valuefactor1-valuefactor2 shall give you desired solution. One possible way is to split

Re: [R] to match samples by minute

2013-08-16 Thread PIKAL Petr
Hi > -Original Message- > From: Weiwu Zhang [mailto:zhangwe...@realss.com] > Sent: Friday, August 16, 2013 9:55 AM > To: PIKAL Petr > Cc: r-help@r-project.org > Subject: Re: [R] to match samples by minute > > 2013/8/16 PIKAL Petr : > > You will get on