Dear all,
I would like to concatenate the lists below
str(Part2$dataset)
List of 3
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
str(Part1$dataset)
List of 3
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
I tried concatenating those with:
> str(cbind(Part1$datase,Part2$dataset))
List of 6
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
- attr(*, "dim")= int [1:2] 3 2
but I want something different. To concatenate those into a list by list
operation so I will end up with something looking like that
str(concatenatedLists)
List of 3
$ : num [1:32002] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:32002] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:32002] 0 0 0 0 0 0 0 0 0 0 ...
- attr(*, "dim")= int [1:2] 3 2
Is there anything that can do that in R?
Regards
Alex
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.