s-news
[Top] [All Lists]

replacements help?

To: <s-news-list <s-news@lists.biostat.wustl.edu>
Subject: replacements help?
From: "Michael Slattery" <Michael.Slattery@epa.state.oh.us>
Date: Tue, 11 Oct 2005 15:12:44 -0400
Hello all, 
I have a 64 record dataframe DF1 with 2 fields, paramater.name and attribute. 
The second data frame DF2 has 80K + records, and has numerous fields, but 
shares the parameter.name field with DF1.

In fact, DF1$paramter.name is the result of the expression:
unique(DF2$parameter.name) and is 64 in length.

I would like to add the field DF1$attribute "back" to each record of DF2, using 
of course the parameter.name join and the fact that DF1$attribute is unique to 
each unique DF1$parameter.name. But I cannot somehow get the syntax right (I'm 
trying variants with merge)

I'm using 7.0 on XP Pro SP2.

thanks in advance!!
mike slattery


<Prev in Thread] Current Thread [Next in Thread>
  • replacements help?, Michael Slattery <=