[R] to match samples by minute
PIKAL Petr
petr.pikal at precheza.cz
Fri Aug 16 10:06:59 CEST 2013
Hi
> -----Original Message-----
> From: Weiwu Zhang [mailto:zhangweiwu at realss.com]
> Sent: Friday, August 16, 2013 9:55 AM
> To: PIKAL Petr
> Cc: r-help at r-project.org
> Subject: Re: [R] to match samples by minute
>
> 2013/8/16 PIKAL Petr <petr.pikal at precheza.cz>:
> > 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, by="unixtime", all=TRUE)
>
> Thanks, this is a good general answer indeed. See, I only need a
> keyword (merge) to push me to the right track. In my particular case, I
I am not sure if it is the right track. It depends on my understanding (and this can be wrong) of your explanation.
> need to cast my unixtime into number-of-minutes before merging it.
It depends what unixtime is. At least
str(df) can help.
Regards
Petr
More information about the R-help
mailing list