: Mon, 1 May 2006 07:54:54 -0500
Subject:Re: [R] efficiency in merging two data frames
I'm sure you'll get ingenious responses to help you optimize your R
code. I deal with similar investment data in even larger numbers (e.g.
10 years of daily return data for each stock
I have two data sets about lots of companies' stock
and fiscal data. One is monthly data with about
144,000 lines, and the other is quaterly with about
56,000. Each data set takes different company code.
I need to merge these two together. I read both ask
cvs. And the other file with
Some functions that may be of help:
?aggregate.ts
?cbind
?merge
and in the zoo package
?as.yearmon
?as.yearqtr
?aggregate.zoo
?merge.zoo
On 5/1/06, Guojun Zhu [EMAIL PROTECTED] wrote:
I have two data sets about lots of companies' stock
and fiscal data. One is monthly data with about
.
Steve Miller
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Guojun Zhu
Sent: Monday, May 01, 2006 2:35 AM
To: r-help@stat.math.ethz.ch
Subject: [R] efficiency in merging two data frames
I have two data sets about lots of companies' stock
and fiscal data
-help@stat.math.ethz.ch
Subject: Re: [R] efficiency in merging two data frames
I'm sure you'll get ingenious responses to help you optimize
your R code. I
deal with similar investment data in even larger numbers
(e.g. 10 years of
daily return data for each stock in the Russell 3000), and
prefer