That sounds like a job for merge().

If you provide an actual reproducible example using dput(), then you
will likely get some actual runnable code.

Sarah

On Mon, Apr 1, 2013 at 11:54 AM, ramoss <ramine.mossad...@finra.org> wrote:
> Hello,
>
> I have 2 data frames:  activity and dates.  Activity contains a l variable
> listing all activities:  activityA, activityB etc.
> The dates contain all the valid business dates.  I need to combine the 2 so
> that I get a single data frame activitydat that contains the activity name
> along w/ evevry valid business dates such as
>
> Name          dat
> activity A   2013-02-01
> activity A  2013-02-04
> activity A  2013-02-05
> etc
>
>
> Any thought?  Thanks ahead for your help.
>
>
>

--
Sarah Goslee
http://www.functionaldiversity.org

______________________________________________
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