'c' also works with lists:
> a=list(1,2,3)
> b=list(1,2,3)
> c(a,b)
[[1]]
[1] 1
[[2]]
[1] 2
[[3]]
[1] 3
[[4]]
[1] 1
[[5]]
[1] 2
[[6]]
[1] 3
On 7/18/07, elyakhlifi mustapha <elyakhlifi_mustapha@yahoo.fr>
wrote:>
> Hello,
> in using vector() we can create a vector and fill in like this
>
> v <- vector()
> v <- c(v,2)
> v <- c(v,c(5,10,23))
>
> but I wanna know if it's possible to do the same with the list I
don't
> fond how?
> Can you help me?
> Thanks.
>
>
>
>
>
>
>
> ___________________________________________________________________________
>
>
>
>
>
> [[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.
>
--
Christophe Pallier (http://www.pallier.org)
[[alternative HTML version deleted]]