Much more elegant!

Is there a way, from the documentation, we would know that c() and  
lists in general behave as they do in these two lines?

Jeff.

On Nov 12, 2006, at 6:32 PM, Peter Dalgaard wrote:

> One way is
>
>  c(rbind(tempin,tempin+5))
>
> another is
>
>  rep(tempin, each=2) + c(0,5)


        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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