s-news
[Top] [All Lists]

Re: Dumbest Question of the New Year

To: "Overstreet, Jason (FL51)" <Jason.Overstreet@honeywell.com>, s-news@lists.biostat.wustl.edu
Subject: Re: Dumbest Question of the New Year
From: "Richard M. Heiberger" <rmh@temple.edu>
Date: Fri, 6 Jan 2006 14:30:12 -0500
I think this is what you are looking for

tmp <- data.frame(aa=c("a","b","c","a","a"),
                  bb=c("d","e","f","e","f"),
                  cc=c("g","h","i","i","h"))
tmp$new <- interaction(tmp$aa, tmp$bb, tmp$cc)
tmp
levels(tmp$new)


If not, then please send the list a sample input and what you desire
as an output and someone will get back to you with an answer.

Rich

<Prev in Thread] Current Thread [Next in Thread>