Displaying 1 result from an estimated 1 matches for "betamo".
Did you mean:
betam
2012 Jun 18
2
Need to append vector to all levels of nested list WITHOUT a loop
Hi everyone,
I have a list betaMoments with 2 levels, e.g.
> beta1 = list(
+ m = 4,
+ v = 5
+ )
> beta2 = list(
+ m = 6,
+ v = 7
+ )
>
> betaMoments = list()
> betaMoments[[1]] = beta1
> betaMoments[[2]] = beta2
and I have a matrix Names which has the same number of lines as the
list has firs...