[R] how to make this sequence: 1,2,3,4,5,4,3,2,1

Jim Lemon jim at bitwrit.com.au
Sun Mar 7 10:28:55 CET 2010


On 03/06/2010 09:35 AM, j verzani wrote:
> ...
> Sorry about that one. On the errata page I have:
>
> page 16, exercise 1.12 #5
>      This one is most easily done using c() and the sequence operator :. (Please
> ignore request to use just seq and rep.)
>
And all over the world, perhaps even on other planets where anonymous R 
helpers lurk, the readers of the list can cease their trichotillomania 
and get a good night's sleep.

Jim



More information about the R-help mailing list