On Wednesday 04 August 2004 15:50, Gabor Grothendieck wrote:

> Several people have already mentioned paste, which returns a
> character result, and two other solutions, depending on what you are
> looking for, are:
>
>    with(tenn, 100 * up + 10 * down + stable)  # numeric result
>
>    with(tenn, interaction(up, down, stable, sep =""))  # factor
> result

Except that interaction doesn't have a sep= argument. 

I think it would be useful to have one, and this was also suggested by 
Ted Harding back in June:

http://tolstoy.newcastle.edu.au/R/help/04/06/0984.html

Any reason against implementing this?

Deepayan

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to