Hi R users!
Does anyone know command similar to cbind for adding a column to a object of
the list. For example on this list:
> c1
$`1`
x11 x22
1 1 1
2 1 2
3 1 3
4 1 4
5 1 5

$`2`
x11 x22
6 2 6
7 2 7
8 2 8
9 2 9
10 2 10
11 2 11
i would like to add column, named random created with - runif(5)-, to the
first object in order to obtain something like this:
> c1
$`1`
 x11 x22 random
1 1 1      0.5624256
2 1 2       0.6752097
3 1 3      0.1005275
4 1 4      0.3325556
5 1 5      0.7650282


$`2`
x11 x22
6 2 6
7 2 7
8 2 8
9 2 9
10 2 10
11 2 11

thanks in advance for help.
Regards
Andrija

	[[alternative HTML version deleted]]

